RGB Color Chart

Sage
Posts: 1,066
Joined: 2004.07
Post: #1
I don't know if anybody else has trouble getting the "right" colors in OpenGL with RGB values, but I did. Then I found this chart and figured I'd put a link here. It just goes through a lot of colors (with previews) and tells the name and RGB value (and hex value I believe).

RGB Color Chart
Quote this message in a reply
Sage
Posts: 1,234
Joined: 2002.10
Post: #2
You could just use the color picker built into the OS.
Quote this message in a reply
Sage
Posts: 1,066
Joined: 2004.07
Post: #3
Oh yeah. I forgot about that. I'm not used to all the cool things on the Mac yet (too used to Windows).
Quote this message in a reply
Apprentice
Posts: 14
Joined: 2004.07
Post: #4
SpriteWorld has a nice little function that takes a colour name from that list and returns the RGB value for it:

Code:
    RGBColor paintColor;
    SWGetPaintColor (&paintColor, kSWColor_lightGoldenrod2);

I can send you the code if you like, or if you have SpriteWorld 3.0 look at SWPaintColors.c and .h. (Don't worry, it's completely useable and separate from SpriteWorld itself.)
Quote this message in a reply
Sage
Posts: 1,066
Joined: 2004.07
Post: #5
No thanks radiance. I'm fine with my two website references and color chooser.
Quote this message in a reply
Sage
Posts: 1,234
Joined: 2002.10
Post: #6
Here's a blog about how to use the color picker.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  ? Find color value of 'pixel' in color buffer? Elphaba 1 4,599 Jul 22, 2009 01:23 PM
Last Post: Bachus