NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2048 most downloaded on npm
👑 A tiny yet powerful tool for high-performance color manipulations and conversions
Last release 1 months ago
20 Aug 2026
Ships unpredictably
gaps range from 8 days to 4.0 years
Most releases are documented
notes for 39 of 54 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
54 releases · first in 2020
One column per quarter.
Improve mix plugin by adding an optional "rgb" interpolation mode to mix, tints, tones and shades
mix plugin by adding an optional "rgb" interpolation mode to mix, tints, tones and shadesMake HEX parsing and serialization more than 2x faster
Fix: Rotate the unrounded hue so rotate and harmonies preserve the original color
rotate and harmonies preserve the original colorFix: Use adjusted chroma for the CIEDE2000 rotation term ❤️ @maximilliangrand
[0, 360) in every color model ❤️ @sarathfrancis90Both fixes change returned numbers for a small set of colors; toHex() output is unchanged. Snapshots holding h: 360, "hsl(360, …)" or a delta() value may need updating.
Fix: Reject malformed color strings in linear time ❤️ @GAP-dev
Fix types export for TypeScript 4.7 ❤️ @pkishorez
Fix: Add "package.json" to exports map
Fix: Make minification lossless
New plugin: Color string minification 🗜
New delta method to calculate the perceived color difference between two colors ❤️ @EricRovell
delta method to calculate the perceived color difference between two colors ❤️ @EricRovellImprove mix plugin by adding new tints, tones and shades methods ❤️ @EricRovell
mix plugin by adding new tints, tones and shades methods ❤️ @EricRovellSupport "double split complementary" color harmony generation ❤️ @EricRovell & @lbragile
New closest option of toName method allows you to find the closest color if there is no exact match
closest option of toName method allows you to find the closest color if there is no exact matchNew plugin: Color harmonies generator ❤️ @EricRovell
Add new isEqual method ❤️ @EricRovell
isEqual method ❤️ @EricRovellNew plugin: CMYK color space ❤️ @EricRovell
- Add new hue and rotate methods
hue and rotate methodsImprove the precision of alpha values
Strict string color parsing conforming to the CSS Color Level specifications
Simplify package "exports" field to improve different environments support
Parse a color name disregarding the case
Support HWB color strings (CSS functional notation)
getFormat utilityImprovement: You can now use every angle unit supported by CSS (deg, rad, grad, turn)
deg, rad, grad, turn)New utility: Random color generation
Mix colors through CIE LAB color space
Adjust XYZ, LAB and LCH conversions to the D50 white point (according to the latest CSS specs).
Support modern CSS notations of RGB, HSL and LCH color functions
New plugin: CIE LCH color space
Fix: Do not treat 7-digit hex as a valid color ❤️ @subzey
New plugin: CIE LAB color space
- Make bundle 1% lighter
- Add isValid method
isValid methodNothing published for this version
Sort named colors dictionary for better compression ❤️ @subzey
Ignore null input in the parsers
null input in the parsersNothing published for this version
More accurate HSL and HSV conversions
Names plugin: Support "transparent" keyword
- Improve package exports
Nothing published for this version
Nothing published for this version
Nothing published for this version
20% speed improvement ❤️ @jeetiss
- 100% code coverage
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →