Gradient Color Picker
extract the color at any point of a CSS gradient
By Bikram NathLast updated
Paste any linear, radial, or conic CSS gradient definition and click anywhere on the rendered preview to read the interpolated HEX or RGB value at that exact position. Useful when a designer hands you a gradient asset and you need the 40% stop color for a hover state: sampling `linear-gradient(90deg, #1a1a2e, #e94560)` at 40% returns the interpolated mix, not either declared endpoint. Scrubbing continuously along the preview lets you read every in-between value, which neither the DevTools gradient editor nor Figma exposes directly.
Try it now — free, instant, no signup
What is Gradient Color Picker?
The tool renders your CSS gradient in a preview strip and lets you sample the interpolated color at any horizontal position by clicking or scrubbing. It resolves multi-stop gradients including those with explicit midpoints, so `linear-gradient(to right, #ff6b35 0%, #f7c59f 30%, #efefd0 100%)` yields a distinct sampled value at every pixel across the strip, not just at the declared stops.
Chrome DevTools shows declared color stops inside the gradient swatch editor but does not expose the interpolated value between them. Figma behaves the same way. If you need the exact color at an arbitrary percentage of an existing gradient, both tools require manual canvas pixel inspection or eyedropper guesswork, which is what this tool replaces.
CSS gradient interpolation defaults to sRGB, which causes midpoints to appear noticeably darker or less saturated than either stop color, especially with complementary hue pairs. CSS Color Level 4 introduced `in oklab` and `in oklch` syntax to fix this, but the sampled color here reflects whatever interpolation mode the gradient string actually specifies, so a darkened midpoint is accurate browser behavior, not a sampling artifact.