How to use
- Drag the L (lightness), C (chroma), and H (hue) sliders to build a colour.
- Alternatively paste an existing oklch(), hex, or rgb value into the reverse input to import a colour.
- Read the live swatch and the generated oklch(), hex, and rgb values below the sliders.
- Copy the ready-to-use CSS snippet colour: oklch(...) from the output section.
- Share the current colour via the copy-link button.
Examples
- Setting L=0.65, C=0.18, H=250 produces a mid-blue; the tool shows oklch(0.65 0.18 250), its hex #4b78d4, and the equivalent rgb().
- Pasting #ff6600 into the reverse input fills the sliders with the corresponding OKLCH coordinates.