Help - Search - Members - Calendar
Full Version: 3 letter hex codes
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
ChasingLife87
Just a quick question... I noticed that on some website layouts, they'll use different hex codes. For example,
CODE
background-color:#fff;

instead of
CODE
background-color:#ffffff;


What is up with that? Where do you get just three letters, especially on more complicated colors?
mona lisa
If the last three will be like that, then only three is used. E.g. instead of "cccccc" you can put "ccc" or "abc" can be "aabbcc".
ChasingLife87
OHHH, okay. That makes sense, thanks happy.gif

So, then, the three letter codes are pretty much just for the "web safe" colors?
mona lisa
I think so. Yup.
ChasingLife87
Alrighty then! I guess you can close this now, thanks.
mona lisa
QUOTE(ChasingLife87 @ Jun 6 2005, 5:13 PM)
Alrighty then! I guess you can close this now, thanks.
*

No problem. =)
Closed
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.