Click to See Complete Forum and Search --> : specifying colors


Beach Bum
10-19-2005, 10:56 PM
you can specify colors in hex or rgb. they both seem to work fine in all the browsers i have tested. which do you use and why? rgb seems much more intuitive to me.

NogDog
10-20-2005, 12:45 AM
Well, I could specify the same cyan color as:

color: #0ff;
color: #00ffff;
color: rgb(0,255,255);
color: rgb(0,100%,100%);

I'll use one of the first two methods since (1) I'm used to it, and (2) they're a lot easier to type.

Beach Bum
10-20-2005, 08:53 AM
i got started using the rgb method because that is easy to translate the color to graphics programs and such. they usually ask for the rgb values. hence my comment about being intuitive.

but your point about less code is a good one.

i was concerned that there may be a standards issue using the different forms, but that does not appear to be the case. they all seem to work fine on my xhtml pages.

Kravvitz
10-20-2005, 04:17 PM
I use both hex methods (the first two NogDog listed).

I use Paint Shop Pro which allows you to enter colors in both forms.

Jona
10-20-2005, 04:28 PM
I'm with NogDog. I use #0FF or #00FFFF. Photoshop actually gives the hex color in a box I can copy, but the R, G, and B values are all in separate boxes, so it takes longer to copy them. Also it's more convenient to use hex.

nishant_kalia85
10-28-2005, 12:12 AM
hey all you color freaks i got a software for you where u can actually get a cool color combination the software is "Color Shade" "Color wheel pro" and mind you Color wheel pro is a really usefull software.

jogol
10-28-2005, 04:56 AM
spam! ;)

no need for software imo.

http://www.alvit.de/handbook/#colortools