Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#RRGGBBAA #2249

Closed
ZoeBijl opened this issue Jan 25, 2016 · 24 comments
Closed

#RRGGBBAA #2249

ZoeBijl opened this issue Jan 25, 2016 · 24 comments

Comments

@ZoeBijl
Copy link

ZoeBijl commented Jan 25, 2016

As defined in CSS Color Module Level 4.

@neoncitylights
Copy link

+1

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

@cvrebert
Copy link
Contributor

Possibly overlaps with #2079

@rik
Copy link

rik commented May 9, 2016

Firefox will support this soon: https://twitter.com/davidbaron/status/729711324884656128

@dbaron
Copy link

dbaron commented May 9, 2016

Chromium bug
Gecko bug
WebKit bug

@jensimmons
Copy link
Contributor

+1

@Schweinepriester
Copy link
Contributor

+1
apparently now in firefox: https://twitter.com/patrickbrosset/status/732859240147243008

@laukstein
Copy link

Landed in Firefox 49 https://bugzilla.mozilla.org/show_bug.cgi?id=1271191

@laukstein
Copy link

Just landed under Chrome 52 https://bugs.chromium.org/p/chromium/issues/detail?id=76362#c34

@ZoeBijl
Copy link
Author

ZoeBijl commented May 27, 2016

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

@Bisaloo
Copy link

Bisaloo commented Jul 3, 2016

+1

@iant-ee iant-ee mentioned this issue Jul 5, 2016
@iant-ee
Copy link

iant-ee commented Jul 5, 2016

+1

1 similar comment
@Ugoku
Copy link
Contributor

Ugoku commented Jul 5, 2016

+1

@laukstein
Copy link

Landed in

@Mottie
Copy link
Contributor

Mottie commented Aug 28, 2016

Other css level 4 color proposals related to this issue:

@tenhobi
Copy link

tenhobi commented Sep 8, 2016

@jimmywarting
Copy link
Contributor

jimmywarting commented Nov 23, 2016

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

@ZoeBijl
Copy link
Author

ZoeBijl commented Nov 23, 2016

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.

@Mottie
Copy link
Contributor

Mottie commented Nov 23, 2016

@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%)

@Fyrd
Copy link
Owner

Fyrd commented Nov 23, 2016

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

@ben-eb
Copy link
Contributor

ben-eb commented Jan 10, 2017

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

#3103

@Fyrd
Copy link
Owner

Fyrd commented Jan 13, 2017

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

@Fyrd Fyrd closed this as completed Jan 13, 2017
@jhpratt
Copy link
Contributor

jhpratt commented Oct 1, 2017

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

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

@GammaGames
Copy link

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

@lozandier
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests