Previous Message
Next Message

Re: [css-d] kissing hex values goodbye

Sent by Porter Glendinning on 8 February 2002 14:02


At 10:04 2/8/02, Eric A. Meyer digitized these thoughts:
>    Personally, I find the rgb() value types easier and more intuitive 
> to manipulate; hexadecimal never really appealed to me.  Then again, 
> I despised assembler when I was in college, so your mind may vary.

I definitely agree with your underlying thought here, Eric. I think 
this issue really comes down to what you're comfortable with. For me, 
hex has never been that hard to wrap my brain around, and I like the 
more compact notation. It's not going to work for everyone, though, so 
I'm glad to see alternate methods made available.

The one thing that I can see having an impact here is if CSS color 
values were ever extended to include non-RGB-based color spaces. In 
this case, the rgb() notation seems to provide the most security of 
forward compatibility -- other color spaces could use similar 
notations, e.g., cmyk() -- but if that were to happen I would imagine 
that the bare hex values would be grandfathered to assume RGB for the 
sake of backward compatibility.

- Porter

+--------------------------------------------------------+
| Porter Glendinning      [EMAIL-REMOVED]  |
| Web/UI Commando            http://www.glendinning.org  |
+--------------------------------------------------------+
| Porter's Workshop - http://www.serve.com/apg/workshop/ |
+--------------------------------------------------------+
Previous Message
Next Message

Message thread: