Skip to product information
1 of 1

Discipline Coding

Python Script | Color Inspector

Python Script | Color Inspector

Regular price £3.99 GBP
Regular price Sale price £3.99 GBP
Sale Sold out
Taxes included.

CSS Color Inspector (Python App)

Audit and visualize CSS color usage at a glance — no manual digging required.

This Python app makes it easy to scan .css files and generate detailed reports of every hex and rgb() color in your codebase. Whether you're cleaning up legacy styles, preparing for a design system, or just curious about how colors are being used, this tool gives you instant visibility. Includes both CSV and HTML reports — plus a sleek GUI that’s simple enough for anyone to use.

Perfect for frontend developers, designers, and tech leads who value clean, consistent UI — and want to save hours of manual inspection.


✨ Key Features:

  • Detects and lists all #hex and rgb() values

  • Maps each color to the CSS selectors using it

  • Normalizes shorthand colors (like #f00 to #ff0000)

  • Groups visually similar colors together

  • Generates both CSV and HTML reports

  • Clean, modern GUI — no command line needed

  • Designed to be extended or customized


📦 Includes:

  • Python script with GUI (css_color_inspector.py)

  • HTML report template with color swatches

  • CSV export of all colors, counts, and selectors

  • README documentation


Requirements:

  • Python 3.x

  • Works offline on Windows, macOS, and Linux

  • No installation required — just run and go


✅ Instant digital download
✅ Fully editable, beginner-friendly Python code
✅ Great starting point for custom tooling


** Note: Buying multiple scripts won’t unlock extra features—but every purchase directly supports indie development. Thanks for your support! **

View full details