Re: [WSG] CSS Shorthand for color

2004-03-22 Thread Ben Bishop
Hi Brian, 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

Re: [WSG] CSS Shorthand for color

2004-03-22 Thread James Ellis
Hey Off the top of my head: # cc9900 = #c90 # cc8800 = #c80 # dd2255 = #d25 Just take the 1,3 5 characters of the string. If the 6 chr hex is not paired then this #e6dfe2 as #ede will be the same as #eeddee http://www.w3.org/TR/CSS2/syndata.html#color-units Cheers James theGrafixGuy wrote:

Re: [WSG] CSS Shorthand for color

2004-03-22 Thread Manuel González Noriega
El lun, 22-03-2004 a las 09:18, theGrafixGuy escribió: Does anyone know of a calculator or reference one can use to translate hex into triple hex? Referring here to using #FFF instead of #FF for white as an example. AFAIK, the shorthand notation will only work with twin pairs of digits

RE: [WSG] CSS Shorthand for color

2004-03-22 Thread theGrafixGuy
From what I can tell, IT IS NOT limited to paired hexes - See http://www.december.com/html/spec/color3hex1.html - this pages lists 512 colors, the next another 1024 colors, the next another 1024, and the last yet another 1024 for a total of 3584 colors That is more than the paired sets I believe

RE: [WSG] CSS Shorthand for color

2004-03-22 Thread Patrick Lee
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Leo J. O'Campo Sent: Monday, 22 March 2004 8:40 PM To: [EMAIL PROTECTED] Subject: Re: [WSG] CSS Shorthand for color On Monday, March 22, 2004, at 03:53 AM, Patrick Lee wrote: You use web safe colours to prevent dithering. The Browser

Re: [WSG] CSS Shorthand for color

2004-03-22 Thread Simon Jessey
- Original Message - From: Leo J. O'Campo [EMAIL PROTECTED] Subject: Re: [WSG] CSS Shorthand for color While we are on the topic of color palettes and standard color notation, IMHO using the web safe palette for desktop websites is like coding for Mosaic. In this day and age, just

RE: [WSG] CSS Shorthand for color

2004-03-22 Thread Josephine R L Earl
At 02:27 AM 3/22/2004 -0800, theGrafixGuy said: From what I can tell, IT IS NOT limited to paired hexes - See http://www.december.com/html/spec/color3hex1.html - this pages lists 512 colors, the next another 1024 colors, the next another 1024, and the last yet another 1024 for a total of 3584

Re: [WSG] CSS Shorthand for color

2004-03-22 Thread Carl Reynolds
I did a lot of research several years ago in the use of color in user interfaces that will be viewed by color blind people. The results we got showed that a wide range of colors works better for them than a narrow range. Of course it is not a good idea to uses exclusively bright red and bright

Re: [WSG] CSS Shorthand for color

2004-03-22 Thread Leo J. O'Campo
Simon Read the reply more carefully and you'll see I was targeting a desktop audience and speaking about desktop monitors. Leo On Monday, March 22, 2004, at 07:29 AM, Simon Jessey wrote: Actually, I would argue that it isn't as simple as that. Lately, I have noticed in my access logs that

Re: [WSG] CSS Shorthand for color

2004-03-22 Thread Jeremy Flint
The great thing about CSS is that you can specify what devices see what stylesheet. So write a stylesheet using all the colors in the rainbow for screen, and write one using the websafe variety for handhelds. - Jeremy Flint www.jeremyflint.com Leo J. O'Campo wrote: Simon Read the reply

RE: [WSG] CSS Shorthand for color

2004-03-22 Thread stuart
At 2:27 -0800 22/3/04, theGrafixGuy wrote: So that is I am looking for a calculator type doohickey or widget Brian Not sure if this is of any help? http://www.versiontracker.com/dyn/moreinfo/macosx/20175 * The discussion list for

Re: [WSG] CSS Shorthand for color

2004-03-22 Thread Sarah Sammis
The short hand will only work for web safe colors. That being said... 0 1 2 3 4 5 6 7 8 9 A 10 B 11 C 12 D 13 E 14 F 15 F is the most on a color channel can be. 0 is the most off a color channel can be. The color channels are: R G B (red, green, blue) and the color mixing is additive. So as you