tags:

views:

270

answers:

1

Is there a W3C or any other noteworthy standard on how to represent a color (including alpha channel) in hex format?

Is it #RGBA or #ARGB ?

+3  A: 

I'm not sure if there is an official standard-

RGBA is the representation I've seen for Web Macromedia and others use ARGB

I believe that RGBA is the more common representation.

If it helps this is from W3 for CSS3
http://www.w3.org/TR/css3-color/#rgba-color

apocalypse9
Also, the CSS function for specifying colors with alphas is rgba()
Amber
from the W3 link you posted: Unlike RGB values, there is no hexadecimal notation for an RGBA value.
Patrick Klug