Skip to content

Commit

Permalink
Add Oklab and Oklch (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed Mar 18, 2024
1 parent 9bd1389 commit 828d6d6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions feature-group-definitions/oklab.yml
@@ -0,0 +1,25 @@
name: Oklab and Oklch
description: "The Oklab color space expresses colors in terms of perceived lightness and how red/green and blue/yellow a color is, aiming to match how humans perceive colors. Oklch is a variant of Oklab with polar coordinates. These color spaces can be used with the CSS `color()`, `oklab()`, and `oklch()` functions."
spec: https://drafts.csswg.org/css-color-4/#ok-lab
status:
baseline: low
baseline_low_date: 2023-05-09
# Editorial override has been applied to ignore mixed_type_parameters.
# TODO: The behavior of lightness gradients requiring gamut mapping is a
# topic of debate, and at least these browser bugs:
# https://crbug.com/329106317
# https://webkit.org/b/255939
# These problems should be captured in notes when we support notes.
support:
chrome: "111"
chrome_android: "111"
edge: "111"
firefox: "113"
firefox_android: "113"
safari: "15.4"
safari_ios: "15.4"
compat_features:
- css.types.color.oklab
- css.types.color.oklab.mixed_type_parameters
- css.types.color.oklch
- css.types.color.oklch.mixed_type_parameters

0 comments on commit 828d6d6

Please sign in to comment.