Re: [css-color] Have you considered standardizing a rgba(#RRGGBB, <alpha-value>) notation?

On Thu, May 9, 2013 at 8:00 PM, Rik Cabanier <> wrote:
> On Thu, May 9, 2013 at 7:44 PM, Tab Atkins Jr. <> wrote:
>> On Thu, May 9, 2013 at 7:41 PM, Rik Cabanier <> wrote:
>> > HSL is an alternate representation of RGB. There's no magic mapping
>> > between
>> > color gamuts like you would need for Lab.
>> > How useful would this be though. Does anyone think in these terms?
>> The color-altering functions in SASS are *very* popular and
>> widely-used.  They're often used in combination with SASS variables,
>> in ways that translate over directly to CSS variables.
> Interesting!
> Why would you want this supported natively (instead of having the author
> calculate it in advance). Is it so you can transition between luminance
> value?

Ignore "luminance" for now - Lea meant "lightness", as in the L from HSL.  ^_^

Again, the SASS functions show how popular it is to have it calculated
automatically, even though it *could* of course all be done manually.
Authors seem to like just being able to lighten a chosen color, etc.

Manually adjusting colors isn't trivial, and is error-prone.  If you
change the "base" color that the rest are based on, you have to redo
all of your calculations.  By using variables and color functions, you
can change the whole suite of colors automatically.


Received on Friday, 10 May 2013 03:21:33 UTC