Extension Icon

OKLCH Color Converter

Convert colors between formats with wide gamut support
GS
Gleb Stroganov
33 Installs
Overview

OKLCH Color Converter

Convert colors between formats with wide gamut support.

Features

  • Convert between color formats:
    • RGB (rgb, hex, hex/rgba, hsl)
    • Wide gamut (p3, oklch, oklab)
    • Linear RGB (vec, lrgb)
    • Figma P3
  • Handle out-of-gamut colors
  • Support wide gamut P3 colors
  • Match reference values

Reference Calculations

See reference-calculations.md for test cases and expected outputs.