How to svg color formats supported by the global hex swapper
- Step 1Check the format of your source SVG colors — Open your SVG in a text editor. Note which color format is used — Figma exports typically use hex; Inkscape may use rgb(); Illustrator uses a mix. The swapper handles all of them.
- Step 2Enter your source color in any format — Enter the source color in the tool in the same format it appears in the SVG, or in any equivalent format — the tool normalises all formats before matching.
- Step 3Specify the target in your preferred format — The target color can be entered in any supported format. The output SVG will use the target color in the same format as the source color was found in the original.
Frequently asked questions
Does the swapper match #fff and #ffffff as the same color?+
Yes. All hex colors are expanded to full 6-digit form before matching. #fff, #FFF, #ffffff, and #FFFFFF all resolve to the same color and are treated as identical.
Can I swap rgb(0,0,255) to #0000ff?+
Yes. The swapper normalises all color formats to hex internally. You can specify either format as source or target — the tool handles the conversion automatically.
Are HSL colors supported?+
Yes. hsl() and hsla() values in SVG attributes and inline styles are converted to hex for matching. You can swap from HSL to hex or vice versa.
Does the swapper match currentColor?+
No. currentColor is a CSS keyword, not a specific color value. The swapper only matches explicit color values that can be compared numerically.
Privacy first
Every JAD SVG tool runs entirely in your browser using the DOM API and Canvas. Your SVG files never leave your device — verified by zero outbound network requests during processing.