Summary
Update our pretty old documentation about CSS colors by rewriting <color> and writing a few guides and glossary entries to describe modern concepts like gamut and color schemes.
Background
Our documentation about CSS color is pretty old. Its structure dates from a time when keywords and rgb() were the only possible CSS Colors.
Nowadays, numerous new color schemes have been added, and are listed on the page but without overall explanations. CSS Color Level 5 is adding two more functions color-mix() and color-contrast() that are documented but not linked from <color>. They are implemented behind flags by two browsers and CSS Color Level 5 is part of INTEROP 2022.
New concepts in the world of web development (like gamut and color schemes) are not explained on MDN but only linked to Wikipedia where the explanation is larger than the one needed in web development.
Prioritization criteria
- Effort
- Small to medium. This is the update/creation of 5 to 10 pages, with some research.
- Dependencies
- Community enablement
- Momentum
- This will support INTEROP 2022.
- Enabling learners
- Currently the
<color> documentation is complex this will help untangle basic and advanced concepts, as well as having a guide and explanation for the advanced ones.
- Enabling professionals
- Significant. This is a new development of the web.
- Underrepresented topics / ethical web
- Operational necessities
- Addressing needs of the Web industry
Summary
Update our pretty old documentation about CSS colors by rewriting
<color>and writing a few guides and glossary entries to describe modern concepts like gamut and color schemes.Background
Our documentation about CSS color is pretty old. Its structure dates from a time when keywords and
rgb()were the only possible CSS Colors.Nowadays, numerous new color schemes have been added, and are listed on the page but without overall explanations. CSS Color Level 5 is adding two more functions
color-mix()andcolor-contrast()that are documented but not linked from<color>. They are implemented behind flags by two browsers and CSS Color Level 5 is part of INTEROP 2022.New concepts in the world of web development (like gamut and color schemes) are not explained on MDN but only linked to Wikipedia where the explanation is larger than the one needed in web development.
Prioritization criteria
<color>documentation is complex this will help untangle basic and advanced concepts, as well as having a guide and explanation for the advanced ones.