This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
spec:css4-color [2012/06/14 18:04] – [Theoretical Extension Requests] Add reference to CNS (color naming system). tabatkins | spec:css4-color [2012/06/25 13:12] – [Theoretical Extension Requests] Less/Sass prior art emeyer | ||
---|---|---|---|
Line 14: | Line 14: | ||
As these are most likely to be practical and minimal (and supported by a second implementation), | As these are most likely to be practical and minimal (and supported by a second implementation), | ||
- | * ... | + | * 4 and 8-digit hex colors, so you can specify alpha with the hex representation. |
==== real world author extension needs ==== | ==== real world author extension needs ==== | ||
Line 21: | Line 21: | ||
* the opacity argument from rgba() and hsla() should accept a percentage as well, with the obvious meaning. | * the opacity argument from rgba() and hsla() should accept a percentage as well, with the obvious meaning. | ||
* The rgb components of rgb/a() should accept < | * The rgb components of rgb/a() should accept < | ||
- | * 4 and 8-digit hex colors, so you can specify alpha with the hex representation. | + | |
==== theoretical extension requests ==== | ==== theoretical extension requests ==== | ||
Third, there are hypothetical requests for extensions to CSS3-Color features. As these are not real world proven (only theoretical) demands, they are purely tertiary. We may consider them optimistically and include them in working drafts to solicit feedback and additional interest. | Third, there are hypothetical requests for extensions to CSS3-Color features. As these are not real world proven (only theoretical) demands, they are purely tertiary. We may consider them optimistically and include them in working drafts to solicit feedback and additional interest. | ||
* ... | * ... | ||
- | |||
===== new css4-color features ===== | ===== new css4-color features ===== | ||
Brand new features for CSS4-Color. We'll follow the same prioritization as above. | Brand new features for CSS4-Color. We'll follow the same prioritization as above. | ||
Line 39: | Line 38: | ||
* A new color definition function using a " | * A new color definition function using a " | ||
* A new color definition function using keywords to represent base colors and adjectives to create a better form of named colors, like '' | * A new color definition function using keywords to represent base colors and adjectives to create a better form of named colors, like '' | ||
+ | * There is also prior art in the Less/Sass space, where there are functions that allow for such functionality. | ||
===== dropped css3 features ===== | ===== dropped css3 features ===== | ||
Features that were dropped from CSS3-Color (e.g. color profiles) are eligible to be considered for CSS4-Color, but they will need a strong justification as having been insufficiently adopted by implementations for many years means there was likely something wrong with them and they need major revising. In addition, features dropped from other CSS3 specs or trimmed when bringing over to CSS3-Color are also considered here. | Features that were dropped from CSS3-Color (e.g. color profiles) are eligible to be considered for CSS4-Color, but they will need a strong justification as having been insufficiently adopted by implementations for many years means there was likely something wrong with them and they need major revising. In addition, features dropped from other CSS3 specs or trimmed when bringing over to CSS3-Color are also considered here. | ||
Line 54: | Line 54: | ||
There is no editor' | There is no editor' | ||
- | The editor' | + | The editor' |
- | * http:// | + |