This free online tool extracts all unique HTML and CSS color codes from any text. Simply paste your code or upload a file, and the tool will instantly detect every color value, including HEX, RGB, RGBA, HSL, and HSLA formats. Each color is displayed with a live preview so you can quickly identify and copy the codes you need. You can filter results, copy them individually or all at once, and export the full list as a TXT file. Perfect for web developers, designers, and anyone who works with HTML or CSS colors.
The Extract Colors tool scans your HTML or CSS content and automatically finds all color values used in the code. It helps you quickly identify and reuse colors without manually searching through files.
This tool allows you to:
Input:
body {
background-color: #ffffff;
color: rgb(34, 34, 34);
}
a {
color: #0066cc;
}
Result:
#ffffff
rgb(34, 34, 34)
#0066cc
Paste your HTML or CSS code and instantly extract all used colors. The Extract Colors tool helps you understand and reuse your color schemes with ease.