Convert OKLCH color values into standard RGB channels.
Input formats
Provide colors using oklch(L C H) syntax: lightness as a percentage, chroma as a plain number, and hue as a degree value from 0 to 360. Each line is parsed independently in batch mode.
RGB output
The output prints as rgb(r, g, b) with each channel from 0 to 255. oklch(68.04% 0.21 33.69) becomes rgb(255, 87, 51).
Gamut clamping
Not every lightness, chroma, and hue combination maps to a color inside sRGB. When chroma is too high for a given lightness and hue, each RGB channel clamps to 0-255, which can shift the result from the exact OKLCH value entered.