unstale

npm / colord

colord

What changed in colord 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

1 breaking1 security1 new APIs and options1 performance3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

colord 27 changes

Breaking changes 1

  • Keeps hue within [0, 360) in every color model, changing returned numbers for a small set of colors; toHex() output is unchanged.

    2.9.5release notes

Security 1

New APIs and options 1

  • Adds an optional rgb interpolation mode to mix, tints, tones and shades.

    2.10.0release notes

Performance 1

  • HEX parsing and serialization are more than 2x faster.

    2.9.7release notes

Fixes and other changes 3

  • HWB whiteness and blackness values totaling over 100% are normalized to gray.

    2.9.6release notes

  • Unrounded hue rotation preserves the original color in rotate and harmonies.

    2.9.6release notes

  • Uses adjusted chroma for the CIEDE2000 rotation term, changing delta() values for a small set of colors.

    2.9.5release notes