@types/culori breaking changes
@types/culori 4.0.0 (May 2, 2025) is its newest release with breaking changes, 71 of them. The first: Removed Gamut. Every breaking API change we have recorded in @types/culori on npm: 71 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.1, released September 2, 2025.
Packages on npm run on Node.js. Node.js end of life dates.
@types/culori 4.0.0 breaking changes
- Removed
Gamut
Gamut was removed in @types/culori 4.0.0 npmjs.com - Removed
GamutMode
GamutMode was removed in @types/culori 4.0.0 npmjs.com - Signature changed
Color
Was type Color = | A98 | Cubehelix | Dlab | Dlch | Hsi | Hsl | Hsv | Hwb | Jab | Jch | Lab | Lab65 | Lch | Lch65 | Lchuv | Lrgb | Luv | Okhsl | Okhsv | Oklab | Oklch | P3 | Prophoto | Rec2020 | Rgb | Xyb | Xyz50 | Xyz65 | Yiq; now type... npmjs.com - Signature changed
colorsNamed
Was const named: {aliceblue: 0xf0f8ff; antiquewhite: 0xfaebd7; aqua: 0x00ffff; aquamarine: 0x7fffd4; azure: 0xf0ffff; beige: 0xf5f5dc; bisque: 0xffe4c4; black: 0x000000; blanchedalmond: 0xffebcd; blue: 0x0000ff; blueviolet: 0x8a2be2... npmjs.com - Signature changed
convertA98ToXyz65
Was function convertA98ToXyz65(color: Omit<A98, "mode">): Xyz50; now function convertA98ToXyz65(color: Omit<A98, "mode">): Xyz65. npmjs.com - Signature changed
convertHwbToRgb
Was function convertHwbToRgb(color: Hwb): Rgb; now function convertHwbToRgb(color: Omit<Hwb, "mode">): Rgb. npmjs.com - Signature changed
easingGamma
Was function gamma(y: number): (t: number) => number; now function easingGamma(y: number): (t: number) => number. npmjs.com - Signature changed
easingInOutSine
Was function inOutSine(t: number): number; now function easingInOutSine(t: number): number. npmjs.com - Signature changed
easingMidpoint
Was function midpoint(H: number): (t: number) => number; now function easingMidpoint(H?: number): (t: number) => number. npmjs.com - Signature changed
easingSmootherstep
Was function smootherstep(t: number): number; now function easingSmootherstep(t: number): number. npmjs.com - Signature changed
easingSmoothstep
Was function smoothstep(t: number): number; now function easingSmoothstep(t: number): number. npmjs.com - Signature changed
filterBrightness
Was const filterBrightness: Filter; now function filterBrightness(amount?: number, mode?: Mode): ColorToSameColorMapper. npmjs.com - Signature changed
filterContrast
Was const filterContrast: Filter; now function filterContrast(amount?: number, mode?: Mode): ColorToSameColorMapper. npmjs.com - Signature changed
filterDeficiencyDeuter
Was const filterDeficiencyDeuter: FilterDeficiencyFactory; now function filterDeficiencyDeuter(severity?: number): <C extends Color>(color: C) => C. npmjs.com - Signature changed
filterDeficiencyProt
Was const filterDeficiencyProt: FilterDeficiencyFactory; now function filterDeficiencyProt(severity?: number): <C extends Color>(color: C) => C. npmjs.com - Signature changed
filterDeficiencyTrit
Was const filterDeficiencyTrit: FilterDeficiencyFactory; now function filterDeficiencyTrit(severity?: number): <C extends Color>(color: C) => C. npmjs.com - Signature changed
filterGrayscale
Was const filterGrayscale: Filter; now function filterGrayscale(amount?: number, mode?: Mode): ColorToSameColorMapper. npmjs.com - Signature changed
filterHueRotate
Was const filterHueRotate: Filter; now function filterHueRotate(degress?: number, mode?: Mode): ColorToSameColorMapper. npmjs.com - Signature changed
filterInvert
Was const filterInvert: Filter; now function filterInvert(amount?: number, mode?: Mode): ColorToSameColorMapper. npmjs.com - Signature changed
filterSaturate
Was const filterSaturate: Filter; now function filterSaturate(amount?: number, mode?: Mode): ColorToSameColorMapper. npmjs.com - Signature changed
filterSepia
Was const filterSepia: Filter; now function filterSepia(amount?: number, mode?: Mode): ColorToSameColorMapper. npmjs.com - Signature changed
interpolate
Was function interpolate<M extends Mode = "rgb">(colors: ColorsParameter, mode?: M, overrides?: OverridesParameter<M>): Interpolator<M>; now function interpolate<M extends Mode = "rgb">(colors: ColorsParameter, mode?: M, overrides?... npmjs.com - Signature changed
interpolateWith
Was function interpolateWith<M extends Mode>(premap: MapFn<M>, postmap: MapFn<M>): (colors: ColorsParameter, mode?: M, overrides?: OverridesParameter<M>) => Interpolator<M>; now function interpolateWith<M extends Mode>(premap: MapFn<M>... npmjs.com - Signature changed
interpolateWithPremultipliedAlpha
Was function interpolateWithPremultipliedAlpha<M extends Mode>(colors: ColorsParameter, mode?: M, overrides?: OverridesParameter<M>): Interpolator<M>; now function interpolateWithPremultipliedAlpha<M extends Mode>(colors: ColorsParameter... npmjs.com - Signature changed
interpolatorSplineBasis
Was const interpolatorSplineBasis: Interpolator; now const interpolatorSplineBasis: (arr: number[]) => (t: number) => number. npmjs.com - Signature changed
interpolatorSplineBasisClosed
Was const interpolatorSplineBasisClosed: Interpolator; now const interpolatorSplineBasisClosed: (arr: number[]) => (t: number) => number. npmjs.com - Signature changed
interpolatorSplineMonotone
Was const interpolatorSplineMonotone: Interpolator; now const interpolatorSplineMonotone: (arr: number[]) => (t: number) => number. npmjs.com - Signature changed
interpolatorSplineMonotone2
Was const interpolatorSplineMonotone2: Interpolator; now const interpolatorSplineMonotone2: (arr: number[]) => (t: number) => number. npmjs.com - Signature changed
interpolatorSplineMonotoneClosed
Was const interpolatorSplineMonotoneClosed: Interpolator; now const interpolatorSplineMonotoneClosed: (arr: number[]) => (t: number) => number. npmjs.com - Signature changed
interpolatorSplineNatural
Was const interpolatorSplineNatural: Interpolator; now const interpolatorSplineNatural: (arr: number[]) => (t: number) => number. npmjs.com - Signature changed
interpolatorSplineNaturalClosed
Was const interpolatorSplineNaturalClosed: Interpolator; now const interpolatorSplineNaturalClosed: (arr: number[]) => (t: number) => number. npmjs.com - Signature changed
modeA98
Was const definition: Omit<typeof rgb, keyof A98DefinitionMixin> & A98DefinitionMixin; now const modeA98: Omit<typeof rgb, keyof A98DefinitionMixin> & A98DefinitionMixin. npmjs.com - Signature changed
modeCubehelix
Was const definition: {mode: "cubehelix"; channels: ["h", "s", "l", "alpha"]; parse: ["--cubehelix"]; serialize: "--cubehelix"; ranges: {h: [0, 360]; s: [0, 4.614]; l: [0, 1];}; fromMode: {rgb: typeof convertRgbToCubehelix;}; toMode: {rgb... npmjs.com - Signature changed
modeDlab
Was const definition: {mode: "dlab"; parse: ["--din99o-lab"]; serialize: "--din99o-lab"; toMode: {lab65: (c: Omit<Dlab, "mode">) => Lab65; rgb: (c: Omit<Dlab, "mode">) => Rgb;}; fromMode: {lab65: (c: Omit<Lab65, "mode">) => Dlab; rgb: (c... npmjs.com - Signature changed
modeDlch
Was const definition: {mode: "dlch"; parse: ["--din99o-lch"]; serialize: "--din99o-lch"; toMode: {lab65: typeof convertDlchToLab65; dlab: (c: Omit<Dlch, "mode">) => Dlab; rgb: (c: Omit<Dlch, "mode">) => Rgb;}; fromMode: {lab65: typeof... npmjs.com - Signature changed
modeHsi
Was const definition: {mode: "hsi"; toMode: {rgb: typeof convertHsiToRgb;}; parse: ["--hsi"]; serialize: "--hsi"; fromMode: {rgb: typeof convertRgbToHsi;}; channels: ["h", "s", "i", "alpha"]; ranges: {h: [0, 360];}; interpolate: {h: {use... npmjs.com - Signature changed
modeHsl
Was const definition: {mode: "hsl"; toMode: {rgb: typeof convertHslToRgb;}; fromMode: {rgb: typeof convertRgbToHsl;}; channels: ["h", "s", "l", "alpha"]; ranges: {h: [0, 360];}; parse: [typeof parseHsl]; serialize: (c: Omit<Hsl, "mode">)... npmjs.com - Signature changed
modeHsv
Was const definition: {mode: "hsv"; toMode: {rgb: typeof convertHsvToRgb;}; parse: ["--hsv"]; serialize: "--hsv"; fromMode: {rgb: typeof convertRgbToHsv;}; channels: ["h", "s", "v", "alpha"]; ranges: {h: [0, 360];}; interpolate: {h: {use... npmjs.com - Signature changed
modeHwb
Was const definition: {mode: "hwb"; toMode: {rgb: typeof convertHwbToRgb;}; fromMode: {rgb: typeof convertRgbToHwb;}; channels: ["h", "w", "b", "alpha"]; ranges: {h: [0, 360];}; parse: [typeof parseHwb]; serialize: (c: Omit<Hwb, "mode">)... npmjs.com - Signature changed
modeJab
Was const definition: {mode: "jab"; channels: ["j", "a", "b", "alpha"]; parse: ["--jzazbz"]; serialize: "--jzazbz"; fromMode: {rgb: typeof convertRgbToJab; xyz65: typeof convertXyz65ToJab;}; toMode: {rgb: typeof convertJabToRgb; xyz65... npmjs.com - Signature changed
modeJch
Was const definition: {mode: "jch"; parse: ["--jzczhz"]; serialize: "--jzczhz"; toMode: {jab: typeof convertJchToJab; rgb: (c: Omit<Jch, "mode">) => Rgb;}; fromMode: {rgb: (c: Omit<Rgb, "mode">) => Jch; jab: typeof convertJabToJch;}... npmjs.com - Signature changed
modeLab
Was const definition: {mode: "lab"; toMode: {xyz50: typeof convertLabToXyz50; rgb: typeof convertLabToRgb;}; fromMode: {xyz50: typeof convertXyz50ToLab; rgb: typeof convertRgbToLab;}; channels: ["l", "a", "b", "alpha"]; ranges: {l: [0... npmjs.com - Signature changed
modeLab65
Was const definition: Omit<typeof lab, keyof Lab65DefinitionMixin> & Lab65DefinitionMixin; now const modeLab65: Omit<typeof lab, keyof Lab65DefinitionMixin> & Lab65DefinitionMixin. npmjs.com - Signature changed
modeLch
Was const definition: {mode: "lch"; toMode: {lab: typeof convertLchToLab; rgb: (c: Omit<Lch, "mode">) => Rgb;}; fromMode: {rgb: (c: Omit<Rgb, "mode">) => Lch; lab: typeof convertLabToLch;}; channels: ["l", "c", "h", "alpha"]; ranges: {l... npmjs.com - Signature changed
modeLch65
Was const definition: Omit<typeof lch, keyof Lch65DefinitionMixin> & Lch65DefinitionMixin; now const modeLch65: Omit<typeof lch, keyof Lch65DefinitionMixin> & Lch65DefinitionMixin. npmjs.com - Signature changed
modeLchuv
Was const definition: {mode: "lchuv"; toMode: {luv: typeof convertLchuvToLuv; rgb: (c: Parameters<typeof convertLchuvToLuv>[0]) => ReturnType<typeof convertXyz50ToRgb>;}; fromMode: {rgb: (c: Parameters<typeof convertRgbToXyz50>[0]) =>... npmjs.com - Signature changed
modeLrgb
Was const definition: Omit<typeof rgb, keyof LrgbDefinitionMixin> & LrgbDefinitionMixin; now const modeLrgb: Omit<typeof rgb, keyof LrgbDefinitionMixin> & LrgbDefinitionMixin. npmjs.com - Signature changed
modeLuv
Was const definition: {mode: "luv"; toMode: {xyz50: typeof convertLuvToXyz50; rgb: (c: Omit<Luv, "mode">) => Rgb;}; fromMode: {xyz50: typeof convertXyz50ToLuv; rgb: (c: Omit<Rgb, "mode">) => Luv;}; channels: ["l", "u", "v", "alpha"]... npmjs.com - Signature changed
modeOklab
Was const definition: Omit<typeof lab, keyof OklabDefinitionMixin> & OklabDefinitionMixin; now const modeOklab: Omit<typeof lab, keyof OklabDefinitionMixin> & OklabDefinitionMixin. npmjs.com - Signature changed
modeOklch
Was const definition: Omit<typeof lch, keyof OklchDefinitionMixin> & OklchDefinitionMixin; now const modeOklch: Omit<typeof lch, keyof OklchDefinitionMixin> & OklchDefinitionMixin. npmjs.com
And 21 more in this version. Sign up to see every change
Related packages
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.