Skip to content

Commit a6d36d5

Browse files
committed
[css-color-5] more explanatory prose
1 parent 38d5050 commit a6d36d5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

css-color-5/Overview.bs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)