Tags:
- Themes
Liquid support for OKLCH colors
We've introduced support for OKLCH colors in Liquid, enabling more natural color transitions and access to a broader range of colors than sRGB.
New features include:
- The
filter, which takes acolorobject or string and returns an OKLCH color string. - Enhanced
colorobjects with new properties:,chroma,oklch, andoklcha. These allow you to access OKLCH channels and convert color objects into the OKLCH color space. - Color filters like
now operate within the OKLCH color space.
Explore the Liquid docs to learn more about OKLCH and start integrating these vibrant colors into your projects today.
Was this section helpful?