CSS Color Finder

Paste a snippet of CSS and see every color in it at a glance.

What is this tool?

The CSS Color Finder reads a block of CSS and shows each color it finds as a labelled swatch, so you can see a stylesheet's palette without reading hex codes line by line.

Colors inside a selector are grouped under that selector. Custom properties and standalone declarations are grouped as [inline properties], and bare values such as a comma-separated list are grouped as [inline colors].

What can you do with this tool?

  • See every color in a stylesheet, component or design-token file in seconds.
  • Preview a single hex, RGB or HSL value to check how it looks.
  • Read colors in hex, rgb(), rgba(), hsl(), hsla() and named formats (such as red or transparent).
  • Mix formats in one paste: selector blocks, custom properties like --primary: #ff0000; and plain color lists.

How to use it

  1. Paste your CSS into the box. A full selector block, a single property, or a list like #FF5733, #33FF57, #3357FF all work.
  2. Click Find Colors.
  3. Read the results: each card shows a swatch with the property name and its value, grouped by selector.
  4. Click Clear to start again. Use Show Full Help inside the tool for input examples.

FAQ

Is my CSS sent to a server?

No. The tool runs entirely in your browser, and nothing you paste is uploaded.

Which color formats does it understand?

Hex, rgb(), rgba(), hsl(), hsla() and named colors such as red or transparent.

Can I paste a whole stylesheet?

Yes. You can paste anything from a single value to many rules. The tool reads the text line by line and mixes of formats are fine.

Do I need an account?

No. It is free and needs no sign-up or browser extension.

More free tools

See all free tools →