Skip to main content
>_devtools

Color Interpolation & Gradient Space Comparison

Compare how a gradient mixes colors in sRGB, linear sRGB, HSL, Lab, OKLab and OKLCH, and copy the CSS gradient for the space you pick.

What it does

Enter gradient stops and select a color space to compare how intermediate colors are calculated. Adjust the sample count and angle, then copy a CSS gradient.

Example

sRGB stops #000000 and #ffffff -> black, gray, and white samples

Limits and behavior

  • Colors outside the display gamut are clipped to sRGB for preview.
  • Interpolation space changes the intermediate colors even when the stops are the same.