Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
spec:css4-color [2012/06/25 11:35]
tabatkins [Current Issues] Added link to dev.w3.org
spec:css4-color [2014/12/09 15:48] (current)
Line 38: Line 38:
   * A new color definition function using a "​better"​ colorspace, like CIELAB or something? ​ (HSL is a relatively trivial transformation of the RGB colorspace, and lacks several useful properties like constant perceptual lightness as you rotate the hue.)   * A new color definition function using a "​better"​ colorspace, like CIELAB or something? ​ (HSL is a relatively trivial transformation of the RGB colorspace, and lacks several useful properties like constant perceptual lightness as you rotate the hue.)
   * A new color definition function using keywords to represent base colors and adjectives to create a better form of named colors, like ''​color(light blue)''​. ​ There'​s prior art on this going back a decade, from before we decided to adopt the ridiculous X11 scheme. ​ For an idea of the possible distribution we may want, check out [[http://​www.xanthir.com/​etc/​color-keyword-distribution.html|this visualization of the current color keywords around the HSL wheel]]. Further prior art is the CNS (Color Naming System).   * A new color definition function using keywords to represent base colors and adjectives to create a better form of named colors, like ''​color(light blue)''​. ​ There'​s prior art on this going back a decade, from before we decided to adopt the ridiculous X11 scheme. ​ For an idea of the possible distribution we may want, check out [[http://​www.xanthir.com/​etc/​color-keyword-distribution.html|this visualization of the current color keywords around the HSL wheel]]. Further prior art is the CNS (Color Naming System).
 +      * There is also prior art in the Less/Sass space, where there are functions that allow for such functionality. ​ Examples: http://​sass-lang.com/​docs/​yardoc/​Sass/​Script/​Functions.html#​rgb_functions and http://​sass-lang.com/​docs/​yardoc/​Sass/​Script/​Functions.html#​hsl_functions. ​ Following on those, should the new CSS function allow authors to specify the degree of lightening/​darkening,​ or will there be predefined stops based on keywords? ​ (e.g., ''​light''​ means ''​25%'',​ ''​lighter''​ means ''​-25%'',​ ''​darker''​ means ''​+25%'',​ etc.)
 ===== 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.
 
spec/css4-color.txt · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki