# SlexAxton/css-colorguard

Keep a watchful eye on your css colors.

Repository: https://github.com/SlexAxton/css-colorguard
Canonical: https://ross.abutalabs.com/products/css-colorguard
Language: JavaScript
License Family: other
Last push: 2023-10-28T16:29:21+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4444, "days_push": 1040, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2425, forks 51 (observed 2026-08-28T04:06:50.755433+00:00)

## What it is
CSS Colorguard is a PostCSS-based tool that analyzes CSS files and warns when colors are too similar to existing ones, using the CIEDE2000 color-difference algorithm. It is configurable with ignore lists, thresholds, whitelists, and notation checks, and integrates with build systems like gulp, grunt, and broccoli.

## Use cases
- detect duplicate similar colors in css
- lint css color palette consistency
- warn when new css colors are too close to existing ones
- enforce a design system color set in stylesheets
- find equivalent colors written in different notations
- integrate color checks into gulp or grunt build

## When to choose
- you maintain a large CSS codebase and want to prevent palette drift
- you already use PostCSS or a JS build pipeline and want color linting
- you need perceptually accurate color similarity via CIEDE2000

## When to avoid
- you use preprocessors like Sass with variables instead of raw hex values
- you need active development or new features; the project is in maintenance mode
- you need alpha-transparency-aware color comparison

## Facets
- artifact type: library
- maturity: maintenance
- function: linter, css-framework
- domain: frontend, web-development, developer-tools
- platform: cli
- tags: css, postcss-plugin, color-diff, ciede2000, stylelint-alternative, nodejs

## Member repositories
- SlexAxton/css-colorguard (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.755433+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:31:49.660327+00:00, confidence not recorded.
  - readme: https://github.com/SlexAxton/css-colorguard (fetched 2026-08-28T04:06:50.755433+00:00, sha 1d5c88fa315f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
