---
title: "color-convert 3.0.0 Breaking Changes on npm | Since.dev"
description: "What each color-convert release removed, renamed or changed: 36 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/color-convert
last_updated: 2026-12-04
---

# 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

Latest version `3.1.3`, released November 14, 2025. [Source repository](https://github.com/moox/color-convert)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 16 breaking changes in 1 version.
- From [1.0.0](#v-1-0-0) to [3.0.0](#v-3-0-0): 31 breaking changes in 2 versions.

## color-convert 3.0.0 breaking changes

color-convert 3.0.0, released February 5, 2025: 16 breaking changes.

- **Removed** `ansi16`  

ansi16 was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `ansi256`  

ansi256 was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `apple`  

apple was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `cmyk`  

cmyk was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `gray`  

gray was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `hcg`  

hcg was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `hex`  

hex was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `hsl`  

hsl was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `hsv`  

hsv was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `hwb`  

hwb was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `keyword`  

keyword was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `lab`  

lab was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `lch`  

lch was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `rgb`  

rgb was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **Removed** `xyz`  

xyz was removed in color-convert 3.0.0 [npmjs.com](https://www.npmjs.com/package/color-convert/v/3.0.0)
- **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](https://github.com/Qix-/color-convert/releases/tag/3.0.0)

## color-convert 2.0.0 breaking changes

color-convert 2.0.0, released January 31, 2019: 15 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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)
- **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](https://www.npmjs.com/package/color-convert/v/2.0.0)

And 5 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## color-convert 1.0.0 breaking changes

color-convert 1.0.0, released January 7, 2016: 5 breaking changes.

- **Removed** `convert`  

The convert() class was removed. Use the lookup dictionary instead. [github.com](https://github.com/qix-/color-convert/blob/1.0.0/CHANGELOG.md)
- **Removed** `xxx2xxx`  

The per-pair conversion functions such as xxx2xxx() and their Raw variants were removed. Use the lookup dictionary instead. [github.com](https://github.com/qix-/color-convert/blob/1.0.0/CHANGELOG.md)
- **Removed** `xxx2xxxRaw`  

The Raw variants of the per-pair conversion functions were removed. Use the lookup dictionary instead. [github.com](https://github.com/qix-/color-convert/blob/1.0.0/CHANGELOG.md)
- **Renamed** `ansi`  

The ansi conversion was renamed to ansi256. Update code that references the old name. [github.com](https://github.com/qix-/color-convert/blob/1.0.0/CHANGELOG.md)
- **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](https://github.com/qix-/color-convert/blob/1.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
