How can we improve the Microsoft Edge developer experience?

#rrggbbaa and #rgba color notation support

Couldn't find this anywhere here, so I'll post this feature request.

I'm asking for support of the following notations:

background-color: #12345678;

and

background-color: #1234;

Spec: https://drafts.csswg.org/css-color/#hex-notation

321 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Andreas Linnert shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

6 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Alan H commented  ·   ·  Flag as inappropriate

    It is so much easier when you have a hex value and want to introduce opacity, compared to converting to rgba() notation.

    Every other browser supports this. Maybe we’ll just start using it.

  • Šime Vidas commented  ·   ·  Flag as inappropriate

    This feature is now supported in the other three major browser engines. Web developers should note that there is a PostCSS plugin that enables using these color values today safely, which means that they don’t have to wait for Edge’s implementation.

Feedback and Knowledge Base