◈Free
Extract HEX colors
Find unique 3-digit and 6-digit HEX colors in text or stylesheets.
Find unique 3-digit and 6-digit HEX colors in text or stylesheets. Find supported HEX color tokens in text and normalize them into lowercase six-digit values. First-seen color order is preserved while equivalent shorthand forms are merged.
How to use
- Enter your text, values, or image.
- Adjust the options and run the tool.
- Copy or download your result.
Worked example
Example input
Input: color:#fff; background:#FF0000; border:#ffffff
Example result
[ "#ffffff", "#ff0000" ]
Limitations and details
The extractor does not parse CSS grammar or find named, rgb(), hsl() and alpha HEX colors.
Inputs and options
- Input
- Text
Frequently asked questions
Is this tool free and private?
Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.