---
title: Liquid support for OKLCH colors - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/liquid-support-for-oklch-colors'
  md: 'https://shopify.dev/changelog/liquid-support-for-oklch-colors.md'
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Themes
    handle: dev_themes
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-03-26T12:28:35-04:00'
  postedAt: '2025-03-27T12:00:00-04:00'
  updatedAt: '2025-03-26T16:29:35-04:00'
  effectiveAt: '2025-03-27T12:00:00-04:00'
---

March 27, 2025

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 [`color_to_oklch`](https://shopify.dev/docs/api/liquid/filters/color_to_oklch) filter, which takes a `color` object or string and returns an OKLCH color string.
* Enhanced [`color`](https://shopify.dev/docs/api/liquid/objects/color) objects with new properties: [`color_space`](https://shopify.dev/docs/api/liquid/filters/color_to_oklch), [`chroma`](https://shopify.dev/docs/api/liquid/objects/color#color-chroma), [`oklch`](https://shopify.dev/docs/api/liquid/objects/color#color-oklch), and [`oklcha`](https://shopify.dev/docs/api/liquid/objects/color#color-oklcha). These allow you to access OKLCH channels and convert color objects into the OKLCH color space.
* Color filters like [`color_saturate`](https://shopify.dev/docs/api/liquid/filters#color_saturate) now operate within the OKLCH color space.

Explore the [Liquid docs](https://shopify.dev/docs/api/liquid) to learn more about OKLCH and start integrating these vibrant colors into your projects today.
