Pinatool

SVG Color Editor

Find and replace colors across any SVG illustration, logo, or icon. Update fills, strokes, gradient stops, and embedded styles with automatic transparency preservation and live preview.

Automatic SVG Sanitization: Unsafe scripts, declarations, and external references are stripped automatically while preserving vector paths, gradients, and opacity.

Import SVG

Upload an SVG or edit markup below

Presets:

Drop your SVG here, or browse

Supports .svg files up to 2MB

Scripts and external references are automatically sanitized

Detected Palette

No colors detected

Vector Preview

No SVG loaded

Will save as: mountain-landscape-recolored.svg

How It Works

1

Select or Paste Your SVG

Drop an SVG file into the workspace or paste raw SVG markup. Every fill, stroke, and gradient stop is grouped into a clean editable palette.

2

Pick Replacement Colors

Click any color swatch to choose a new shade or type a HEX value, or use Apply to All to recolor the entire icon to a single monochrome hue.

3

Compare & Download SVG

Switch between Edited and Original on grid, light, or dark backgrounds, then download the .svg file or copy the updated markup.

SVG Color Editor Key Features

Fills, Strokes & Gradient Stops

Detects and groups equivalent colors across presentation attributes, inline styles, embedded style blocks, and linear or radial gradient stops.

Automatic Opacity Preservation

Replaces hues while keeping original alpha transparency and stroke widths intact so layered shadows and highlights stay balanced.

Bulk Monochrome & Live Comparison

Recolor multi-tone graphics to a single brand color in one click, and compare Edited vs. Original views across grid, light, and dark canvases.

Frequently Asked Questions

How does the SVG Color Editor find colors in an SVG file?

It scans presentation attributes (such as fill, stroke, stop-color, flood-color, and lighting-color), inline style declarations, and embedded CSS rules. Equivalent values in HEX, RGB, or HSL are grouped into unified palette entries with exact usage counts.

Does recoloring preserve transparency and semi-transparent layers?

Yes. Original alpha opacity is preserved automatically. When you replace a semi-transparent color, the new shade is applied while keeping the exact original opacity so soft shadows and overlays stay natural.

Can I recolor gradient stops and embedded CSS styles?

Yes. Linear and radial gradient stop-color definitions, inline styles, and <style> rules are listed in the detected palette alongside regular fills and strokes.

How can I make a multi-color icon monochrome?

Use the Replace Every Color bar above the palette. Choose your target HEX color or swatch and click Apply to All to update every detected color while preserving alpha opacity and stroke widths.

Will editing colors change my SVG paths, size, or layout?

No. Path coordinates, shapes, and viewBox dimensions stay untouched—only color values are updated. Unsafe scripts and external declarations are also stripped automatically before export.