Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post

    FREE! RGB to HEX Converter.

    Hello everyone.
    I was really bored today, and since I was playing around with RGB values and changing them to hex numbers today as I was teaching HTML to beginers, I didn't have any programs on the computer to change RGB to Hex instantly. All I could use what mspaint and a calculator.

    I had a converter myself at my house which I downloaded off the internet, but the sad, and funny thing is, the program that I open up didn't show itself in the taskmanager at all, so what I had to do is lower all my windows to get it again if I accidently let it fall behind.

    Now since I didn't want to go out looking for another that I would have no clue what problems it might have, I decided to make my own.

    It's Free, Easy, and no installing.

    The only problem I see is possible glitches, but only glitches if you hit the wrong keys on your keyboard. I am sure I got them all, but you never know!

    Even if you already have a converter, why not download mine and tell me what you think, you might just want to use this one instead!

    This converter, converts RGB to Hex, and Hex to RGB, it also allows you to adjust the colour by 3 horizontal scroll bars to get it just right.

    SOON TO BE ADDED: EyeDropper to take RGB values straight from your screen.

    Screen shot v2.2:


    ***NOTICE:
    VERSION 2.2 NOW ADDED!
    Newer versions of the program replace the old ones below.
    Attached Files Attached Files

  • #2
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    I think I should shove this off into the general web forum, but firtly I have a question!

    What did you make that with? Did you do it in VB or do you actually know C\C++ ? That said if it's either of the later mention can I have the source to play around with?
    Omnis mico antequam dominus Spookster!

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thats pretty handy. although i usually use one built into psp... you never know when you will need to convert rgb into hex...

    nicely done
    redhead

  • #4
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    Originally posted by Mhtml
    I think I should shove this off into the general web forum, but firtly I have a question!

    What did you make that with? Did you do it in VB or do you actually know C\C++ ? That said if it's either of the later mention can I have the source to play around with?
    The funny thing is, it was first posted in "General web building", and I asked cg9com (he was on at the time) to move it over, because I think it would do alot more damage when people see it in the "HTML & CSS" forum.

    I accually made this in VB, I don't know C++ yet, and I think of all peopl, you should of known that but yeah, I could of learn C++ over the last few days and made this as a test program...


    Originally posted by redhead
    thats pretty handy. although i usually use one built into psp... you never know when you will need to convert rgb into hex...

    nicely done
    Thank you, but that reason I made this is because alot of people do use PSP or other LARGE programs to get hex values or change back to RGB...

    Oh that's right, I forgot to mention, it also changes HEX values into RGB values!

    On my 266mhz, it takes along time to load Photoshop, so there is no way I will use it. This is why I like using smaller, dedicated programs!

  • #5
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    C++ in a few days? Not likely.
    Omnis mico antequam dominus Spookster!

  • #6
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Originally posted by Mhtml
    C++ in a few days? Not likely.
    C++ isn't difficult at all... took me but a few hours of trying to learn it to feel comfortable with all the core language concepts. Learning MFC on the other hand to write a GUI app... I haven't tried doing that yet.

  • #7
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    So far, I found two problems with the program.

    1) Something that wouldn't effect you that much, but when you highlight a number in one of the RGB textboxes, and you write in a new number, the 6 colour panels get take effect right away. (I fixed it)

    2) You cannot use Ctrl+C, Ctrl+V, Ctrl+X, or Ctrl+Z in all 4 text boxes. (I am trying to fix it now)


    When all the problems are fixed, I will release this program again.

  • #8
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Originally posted by jkd
    C++ isn't difficult at all... took me but a few hours of trying to learn it to feel comfortable with all the core language concepts. Learning MFC on the other hand to write a GUI app... I haven't tried doing that yet.
    I meant learning C++ enough to be able to write that program ... well at least it would be for me, I've been learning C for about a week now and I don't think that C++ could be that easy to be able to program a gui in that time .... . or is it?
    Omnis mico antequam dominus Spookster!

  • #9
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Originally posted by Mhtml
    I meant learning C++ enough to be able to write that program ... well at least it would be for me, I've been learning C for about a week now and I don't think that C++ could be that easy to be able to program a gui in that time .... . or is it?
    Learning C++ and learning GUI frameworks are different... writing a program like that would require a knowledge of MFC, which isn't something I think you can feel comfortable in within a few hours.

  • #10
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is what I use:

    http://www.greeneclipsesoftware.com/eclipsepalette.html

    EclipsePalette from Green Eclipse Software

    It's excellent - loads of features, tiny footprint etc.

    And best of all, it's FREE

    ::] krycek [::

    PS - Mhtml - why move this into General Web? Surely it belongs somewhere in graphics&multimedia/html&css? (I have no idea where it started off).
    Last edited by krycek; 04-27-2003 at 01:27 AM.
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #11
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    I guess it's moved here coz many ppl will need this program... whether using html and/or graphics

    Nice program by the looks of the screenshot, although I can't use it as I use linux unless vb works with linux, somehow - I'm a linux newbie and linux lover

  • #12
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    Originally posted by krycek
    EclipsePalette from Green Eclipse Software
    This is why I made this program, and use this program... I think having to install a program that takes up more then 1 mb on your computer just to get a colour for your html programs is a little too big.

    My method is usually to take a screen shot of a colour I want, paste it in MsPaint, select the colour with the eyedroper, and find out the RGB values.. once I do that, I can type them into this program to adjust the colours a little bit, and get the HEX value.



    Maybe in version 3.0 of this program, I can make an eye droper... I don't think it will be hard if I find a tutorial, and look all over my computer for the icon, or mouse icon of that little eyedroper in MSPaint.

    Well, I also fixed the 2 problems I had before! It didn't take any time at all, but then I found another little bug that I didn't see before, and it took a little too long for me to do it, but I did it...

    All should be well, and I will new release version 2.0 of HCC.

    The new version of HCC replaced the old one at the top of this topic.

    *I also changed the title to have the american spelling for colour. (Removed the "u")

  • #13
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    Version 2.2 now released.

    2 bugs fixed:
    • After release of v2.0, when you write in your own hex number, the Red (R) value is visibly unaffected.
    • The hex number textbox didn't fit maximum amount of text. (Example: 6 "D"s didn't show up together, it only showed 5 of the 6.)


    Current known bugs:
    • *NONE*


    Features in the make:
    • EyeDropper to select colours from pixels anywhere on your screen.

  • #14
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by Morgoth
    This is why I made this program, and use this program... I think having to install a program that takes up more then 1 mb on your computer just to get a colour for your html programs is a little too big.
    eh???

    It's 150Kb... that's waaaay small enough to satisfy me!

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #15
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    150KB?

    OMG THAT'S HUGE!!! Twice the size of my Primary Hard Drive!!


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •