W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: [css4-color] #RGBA

From: Patrick Garies <pgaries@fastmail.us>
Date: Mon, 06 Sep 2010 12:44:30 -0500
Message-ID: <4C85287E.6060202@fastmail.us>
To: Brian Manthos <brianman@microsoft.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, Christoph P├Ąper <christoph.paeper@crissov.de>, "www-style@w3.org list" <www-style@w3.org>
On 2010-09-04 4:16 PM, Brian Manthos wrote:
> While you're on the subject...
> Does HSL/HSLA get a short syntax as well?

I don't know how those are supposed to be shortened unless you're going 
to assume that the saturation and lightness are always 50% in the 
shorthand or something (i.e., allowing variable hues, but locking 
saturation and lightness: |hsl(<hue>)| and |hsla(<hue>, <alpha>)|).

RGB/RGBA could be shortened to |rgb(<RGB>)| and |rgba(<RGB>, <alpha>)| 
though. That would certainly make defining relative shades of gray 
easier (though isn't useful if you want a specific hue).
Received on Monday, 6 September 2010 17:45:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:49:47 UTC