invert · sepia · hue-rotate chain
Multi-start coordinate-descent solver finds high-accuracy CSS filter chains in milliseconds.
Turn any target HEX color into a ready-to-paste CSS filter and exact SVG feColorMatrix for monochrome icons.
filter: brightness(0) saturate(100%) invert(18%) ...;
filter: url("data:image/svg+xml,...");
<filter id="recolor"><feColorMatrix ... /></filter>
When you cannot edit an icon's inline SVG fill—such as an <img> tag or external sprite—solve the exact CSS filter chain and 0.0 ΔE SVG feColorMatrix needed to turn it into your target brand color.
Multi-start coordinate-descent solver finds high-accuracy CSS filter chains in milliseconds.
One-line CSS filter: url("data:image/svg+xml,...") rule that hits your exact sRGB byte values.
Copy clean SVG filter defs that recolor RGB channels while preserving smooth anti-aliased alpha edges.
Solves W3C Filter Effects chains (invert, sepia, saturate, hue-rotate, brightness, contrast) in under 4ms.
Compares real target HEX against live CSS-filtered swatches and monochrome UI icons.
Generates both inline <feColorMatrix> markup and single-line CSS Data-URI filter rules with zero color error.
Recolors opaque and semi-transparent icon pixels accurately while keeping anti-aliased edges crisp.
Converts simultaneously between HEX, OKLCH, RGB, HSL, D65 CIELAB, and process CMYK.
Type or paste in any card—or drag perceptual OKLCH sliders—to update all six spaces in real time.
Move freely between Generator, Visualizer, Contrast, Tailwind, and Vision without re-entering colors.
Your active palette syncs automatically in browser storage across every module, and visiting any tool directly starts from a fresh harmonious palette.
Supports 3 to 8 active palette roles with unlimited local saves and exports—no account required.
All color math, simulations, and exports run locally in your browser while syncing your active palette across tools.
A few answers before you get started.
On your deviceUse 'Any color icon' if your source image is white, gray, or colored—brightness(0) saturate(100%) normalizes all opaque pixels to black first. If your icon is already pure #000000 black, 'Black icon' outputs a shorter rule.
Unlike sepia/hue-rotate approximations, an SVG feColorMatrix sets output R, G, and B channels directly from your target color's exact normalized sRGB values while preserving original pixel alpha.
Chained CSS filters (invert/sepia/hue-rotate) are convenient one-liners, while an inline SVG feColorMatrix achieves mathematically exact 0.0 ΔE color matching.
The CSS filter chain starts with brightness(0) saturate(100%), which normalizes any opaque icon silhouette to pure black automatically before tinting.