Last active
July 25, 2022 04:16
-
-
Save facelessuser/af37273476547580d0227636f66e1838 to your computer and use it in GitHub Desktop.
Gamut Issues CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print('---- Gamut Mapping with Oklch ----') | |
class Color2(Color): | |
FIT = "oklch-chroma" | |
colors = ['green', 'blue'] | |
Color2.interpolate(colors, space="lab") | |
Color2.interpolate(colors, space="lch") | |
Color2.interpolate(colors, space="oklab") | |
Color2.interpolate(colors, space="oklch") | |
print('---- Gamut Mapping with CIE LCH ----') | |
Color.interpolate(colors, space="lab") | |
Color.interpolate(colors, space="lch") | |
Color.interpolate(colors, space="oklab") | |
Color.interpolate(colors, space="oklch") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment