Today's @FirefoxNightly supports #rgba and #rrggbbaa color values in CSS. Hopefully shipping in Firefox 49.
5
27
31
.@davidbaron FINALLY! Was this inspired by @AXRProject? What about #rgbaa ? It's prob the one I use most in my experiments
1
@veosotano 1. Don't think so. 2. No -- it's probably too confusing to read. Just use #rrggbbaa (double the r, g, and b digits).
1
@davidbaron about 2, I thought the same at first, but later changed my mind, implemented it and never looked back. Way more comfortable IMO
1
@veosotano CSS needs to be read by many developers all over the world. Any syntax that can't be put in a search engine is dangerous.
1
@davidbaron so you're saying #rgba can be searched and #rgbaa can't?
1
Replying to @veosotano
@veosotano No, can't search for either. Adding #rgba and #rrggbbaa was risky, but large mindshare reduces the risk.

May 10, 2016 路 6:31 PM UTC

2
Replying to @davidbaron
@davidbaron is there a large mindshare *against* #rgbaa? Seriously, we'll be missing out...
Replying to @davidbaron
@davidbaron Use case: you write #0001, but it's still too strong. Now you can just change it to #00005, instead of having to write #00000005