Enter any HEX color — get a ready CSS filter to recolor SVG icons and images right in your browser, without a code editor.
SVG icons often have a fixed black color. To recolor them via CSS without editing the SVG file, the filter property is used with a combination of invert, sepia, saturate, hue-rotate and brightness functions.
The tool uses a binary search method to find the optimal CSS filter combination. The algorithm tries thousands of variants and selects the one where the resulting color is closest to the target.
CSS filter only works for elements with an original black color (#000000). If the icon is a different color — first add invert(1) or set it to black via fill in CSS. Accuracy is usually ±5 RGB units.