Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Oklab and Oklch #674

Merged
merged 3 commits into from Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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