Posted by Toby Inkster on 11/22/06 11:03
Jukka K. Korpela wrote:
> Named colors should never have been taken into HTML (or CSS). Someone might
> say that black and white would be OK, but they can easily be written as #000
> and #fff in the short CSS notation (and even shorter notations could have
> been defined, allowing #0 and #f).
I'd certainly agree. I tend to use 'black' and 'white' for legibility, and
occasionally 'lime' for backgrounds and borders when debugging; but I'd
have no objection to them all being phased out in a future spec.
Hexadecimal notation gives you a far wider palette, plus it's actually
*easier*. Who knows what shade 'moccasin' is? It would need to be looked
up by anyone but the most ardent orchid experts, but anyone with a
modest knowledge of the hexadecimal colour space could tell from a
glance that #FFE4B5 is a pale yellowish-orange.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|