Re: [css] Proposal: making Shorthand Hex Colors even shorter (16 grayscale shades)

Hi Shane,

--Original Message--:
>
>
>RGB components are represented by 256 values precisely because of representational issues - that is, each component is represented by a single byte.
>
>
>Woah. That's a horrible sentence. I blame the fact that I'm sick...
>
>Let me try again:
>
>There's no reason in color theory why RGB components should be confined to 256 values. They're this way because the underlying representation is a byte; which as it turns out is the same as the underlying representation of the alpha component.

How about: "Historically many graphics engine implementations used a byte to represent a colour value,
that limits the possible resolution to 256 values and the hex notation reflects the historic implementations.
Each colour channel can be represented with arbitrary precision, e.g. OpenEXR which can store floats
per channel. Thus there is no distinction between a colour channel and an alpha channel in terms
of precision and/or resolution".

Cheers,
Alex

>Cheers,
>    -Shane 
>
>
>
>

Received on Wednesday, 7 September 2011 03:05:29 UTC