Skip to content

Use Oklab for gradient interpolation #14955

@aaronadamsCA

Description

@aaronadamsCA

Gradient interpolation (and any future color-mix utilities) should be using the Oklab colour space.

https://play.tailwindcss.com/B5DPkOnhjl

You'll generally want the uniform colour space (Oklab) for mixing/interpolating between colours, and the cylindrical colour space (Oklch) for modifying the lightness/chroma/hue of individual colours.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions