color-convert breaking changes
color-convert 3.0.0 (February 5, 2025) is its newest release with breaking changes, 16 of them. The first: Removed ansi16. Every breaking API change we have recorded in color-convert on npm: 36 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.1.3, released November 14, 2025. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 2.0.0 to 3.0.0: 16 breaking changes in 1 version.
- From 1.0.0 to 3.0.0: 31 breaking changes in 2 versions.
color-convert 3.0.0 breaking changes
- Removed
ansi16
ansi16 was removed in color-convert 3.0.0 npmjs.com - Removed
ansi256
ansi256 was removed in color-convert 3.0.0 npmjs.com - Removed
apple
apple was removed in color-convert 3.0.0 npmjs.com - Removed
cmyk
cmyk was removed in color-convert 3.0.0 npmjs.com - Removed
gray
gray was removed in color-convert 3.0.0 npmjs.com - Removed
hcg
hcg was removed in color-convert 3.0.0 npmjs.com - Removed
hex
hex was removed in color-convert 3.0.0 npmjs.com - Removed
hsl
hsl was removed in color-convert 3.0.0 npmjs.com - Removed
hsv
hsv was removed in color-convert 3.0.0 npmjs.com - Removed
hwb
hwb was removed in color-convert 3.0.0 npmjs.com - Removed
keyword
keyword was removed in color-convert 3.0.0 npmjs.com - Removed
lab
lab was removed in color-convert 3.0.0 npmjs.com - Removed
lch
lch was removed in color-convert 3.0.0 npmjs.com - Removed
rgb
rgb was removed in color-convert 3.0.0 npmjs.com - Removed
xyz
xyz was removed in color-convert 3.0.0 npmjs.com - Behavior changed
The package now ships as an ES module. Code that loads it with require() from CommonJS may need to switch to import. github.com
color-convert 2.0.0 breaking changes
- Signature changed
ansi16
Was const ansi16: typeof conversions.ansi16 & route.ansi16 & {[F in keyof route.ansi16]: {raw: route.ansi16[F]}}; now const ansi16: & typeof conversions.ansi16 & route.ansi16 & {[F in keyof route.ansi16]: {raw: route.ansi16[F];};}. npmjs.com - Signature changed
ansi256
Was const ansi256: typeof conversions.ansi256 & route.ansi256 & {[F in keyof route.ansi256]: {raw: route.ansi256[F]}}; now const ansi256: & typeof conversions.ansi256 & route.ansi256 & {[F in keyof route.ansi256]: {raw... npmjs.com - Signature changed
apple
Was const apple: typeof conversions.apple & route.apple & {[F in keyof route.apple]: {raw: route.apple[F]}}; now const apple: & typeof conversions.apple & route.apple & {[F in keyof route.apple]: {raw: route.apple[F];};}. npmjs.com - Signature changed
cmyk
Was const cmyk: typeof conversions.cmyk & route.cmyk & {[F in keyof route.cmyk]: {raw: route.cmyk[F]}}; now const cmyk: & typeof conversions.cmyk & route.cmyk & {[F in keyof route.cmyk]: {raw: route.cmyk[F];};}. npmjs.com - Signature changed
gray
Was const gray: typeof conversions.gray & route.gray & {[F in keyof route.gray]: {raw: route.gray[F]}}; now const gray: & typeof conversions.gray & route.gray & {[F in keyof route.gray]: {raw: route.gray[F];};}. npmjs.com - Signature changed
hcg
Was const hcg: typeof conversions.hcg & route.hcg & {[F in keyof route.hcg]: {raw: route.hcg[F]}}; now const hcg: & typeof conversions.hcg & route.hcg & {[F in keyof route.hcg]: {raw: route.hcg[F];};}. npmjs.com - Signature changed
hex
Was const hex: typeof conversions.hex & route.hex & {[F in keyof route.hex]: {raw: route.hex[F]}}; now const hex: & typeof conversions.hex & route.hex & {[F in keyof route.hex]: {raw: route.hex[F];};}. npmjs.com - Signature changed
hsl
Was const hsl: typeof conversions.hsl & route.hsl & {[F in keyof route.hsl]: {raw: route.hsl[F]}}; now const hsl: & typeof conversions.hsl & route.hsl & {[F in keyof route.hsl]: {raw: route.hsl[F];};}. npmjs.com - Signature changed
hsv
Was const hsv: typeof conversions.hsv & route.hsv & {[F in keyof route.hsv]: {raw: route.hsv[F]}}; now const hsv: & typeof conversions.hsv & route.hsv & {[F in keyof route.hsv]: {raw: route.hsv[F];};}. npmjs.com - Signature changed
hwb
Was const hwb: typeof conversions.hwb & route.hwb & {[F in keyof route.hwb]: {raw: route.hwb[F]}}; now const hwb: & typeof conversions.hwb & route.hwb & {[F in keyof route.hwb]: {raw: route.hwb[F];};}. npmjs.com
And 5 more in this version. Sign up to see every change
color-convert 1.0.0 breaking changes
- Removed
convert
The convert() class was removed. Use the lookup dictionary instead. github.com - Removed
xxx2xxx
The per-pair conversion functions such as xxx2xxx() and their Raw variants were removed. Use the lookup dictionary instead. github.com - Removed
xxx2xxxRaw
The Raw variants of the per-pair conversion functions were removed. Use the lookup dictionary instead. github.com - Renamed
ansi
The ansi conversion was renamed to ansi256. Update code that references the old name. github.com - Behavior changed
Conversion functions are now looked up through a dictionary rather than defined individually. Code relying on the old structure may need updating. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.