File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,13 +29,24 @@ Introduction {#intro}
2929 Currently Sass, calc() on HSL values, or PostCSS is used to do this.
3030 Preprocessors are unable to work on dynamically adjusted colors,
3131 and all current solutions are restricted to the sRGB gamut
32- and to the perceptual limitations of HSL.
32+ and to the perceptual limitations of HSL
33+ (colors are bunched up in the color wheel,
34+ and two colors with visually different lightness,
35+ like yellow and blue,
36+ can have the same HSL lightness).
3337
3438 This module adds three functions:
3539 ''color-mix'' ,
3640 ''color-contrast''
3741 and a way to modify existing colors.
3842
43+ The perceptually uniform ``lch()`` colorspace
44+ is used for mixing by default,
45+ as this has no gamut restrictions
46+ and colors are evenly distributed.
47+ However, other colorspaces can be specified,
48+ including ``hsl()`` or ``srgb`` if desired.
49+
3950 Issue(3187): there are two proposals for color modification.
4051 The CSS WG expects that the best aspects of each
4152 will be chosen to produce a single eventual solution.
You can’t perform that action at this time.
0 commit comments