Caniuse: #RRGGBBAA

Created on 25 Jan 2016  路  24Comments  路  Source: Fyrd/caniuse

As defined in CSS Color Module Level 4.

Support data suggestion

Most helpful comment

Now available at http://caniuse.com/#feat=css-rrggbbaa

All 24 comments

+1

Edit: This should include the shorthand 4 digit version also, #RGBA

Possibly overlaps with #2079

+1

Thanks for all the updates!

Just tested: this works in Safari TP 5!

And for the stats: doesn't work in Safari 9.1.1

+1

+1

+1

Other css level 4 color proposals related to this issue:

@mottie i think rgba & hsla has been around for a long time? Anyhow nice list, learn something new everyday i didn't know about :)

Is there something we can do to actually get this up on the website? Bit of a shame to have all this info collect dust in a GitHub issue.

@jimmywarting

i think rgba & hsla has been around for a long time?

Those methods have been, but the alpha channel previously only accepted a fraction:

rgba(0, 0, 0, 0.5)
hsla(0, 0%, 0%, 0.5)

With CSS4, they now also accept percentage values:

rgba(0, 0, 0, 50%)
hsla(0, 0%, 0%, 50%)

@MichielBijl Anyone's able to submit new features, see the CONTRIBUTING file. Alternatively just wait until I get around to it. :)

I've created a pull request for this, let me know if you need any tweaks. 馃憤

https://github.com/Fyrd/caniuse/pull/3103

Now available at http://caniuse.com/#feat=css-rrggbbaa

@Fyrd Just an FYI it's currently a working draft, not unofficial.

(https://www.w3.org/TR/css-color-4/#hex-notation)

Why not add #rgb or #rgba as well? Everything from @Mottie's comment, really

Shouldn't lch, lab & color() also be added?

Was this page helpful?
0 / 5 - 0 ratings