# Compare colours side by side

> Compare any two colours across 2 ranges (240 colours total) on Pigment Ledger: lightfastness ratings, pigment codes, approximate swatches, notes and official sources.

## Shareable URL parameters

- Interactive page: https://pigment-ledger.pages.dev/compare/
- Direct comparison URL: `https://pigment-ledger.pages.dev/compare/?a=<id>&b=<id>`
- Colour ID format: `<range_slug>--<number>` (for example `caran-dache-luminance-6901--581` or `faber-castell-polychromos--124`).
- Example (same scale): https://pigment-ledger.pages.dev/compare/?a=caran-dache-luminance-6901--581&b=caran-dache-luminance-6901--801
- Example (cross-range): https://pigment-ledger.pages.dev/compare/?a=caran-dache-luminance-6901--001&b=faber-castell-polychromos--101

## Rules

- Lightfastness ratings are compared directly only when both colours share the same rating scale.
- Across different scales (such as ASTM vs. Faber-Castell stars), both ratings and scale definitions are shown without converting.
- Programmatic agents should query [/api/index.json](https://pigment-ledger.pages.dev/api/index.json) or [/api/colours.csv](https://pigment-ledger.pages.dev/api/colours.csv) directly.

## Available ranges

- [Caran d'Ache Luminance 6901](https://pigment-ledger.pages.dev/ranges/caran-dache-luminance-6901/index.md): 100 colours, ASTM lightfastness category (D4303 / D6901) (`caran-dache-luminance-6901--<number>`)
- [Faber-Castell Polychromos](https://pigment-ledger.pages.dev/ranges/faber-castell-polychromos/index.md): 140 colours, Faber-Castell stars (`faber-castell-polychromos--<number>`)
