There's no magic to it. Straight from the W3C: http://www.w3.org/TR/2001/WD-css3-color-20010305#numerical
"The format of an RGB value in hexadecimal notation is a '#' immediately followed by either three or six hexadecimal characters. The three-digit RGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, #fb0 expands to #ffbb00. This ensures that white (#ffffff) can be specified with the short notation (#fff) and removes any dependencies on the color depth of the display."
Browser compatibility resources are easily found with a little Googling. A good example:
http://www.westciv.com/style_master/academy/browser_support/index.html
Regards,
-Ben http://www.daemon.com.au/
theGrafixGuy wrote:
Does anyone know of a calculator or reference one can use to translate hex into triple hex?*****************************************************
Referring here to using #FFF instead of #FFFFFF for white as an example.
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************
