NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #982 most downloaded on npm
Color helpers to ease transformation between formats, gamut, etc
Last release 10 days ago
25 Sep 2026
Release timing varies
gaps range from 1 weeks to 6 months
Nearly every release is documented
notes for 20 of 20 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
20 releases · first in 2023
One column per quarter.
Fixed a potential infinite loop when gamut mapping a color with infinite components
September 25, 2026
Updated: gamut mapping algorithm
August 15, 2026
_June 25, 2026_ - Add d65 conversion helpers
June 25, 2026
d65 conversion helpersUpdated: gamut mapping algorithm
February 21, 2026
Match latest changes made in csswg-drafts for:
January 25, 2026
csswg-drafts for:
gam_2020Lab_to_LCHlin_2020OKLab_to_OKLCHsRGB_to_HSLXYZ_D50_to_HWBUpdated: Support for Node 20.19.0 or later (major).
January 14, 2026
20.19.0 or later (major).commonjs API. In supported Node versions require(esm) will work without needing to make code changes._August 22, 2025_ - Add lin_P3_to_XYZ_D50 - Add XYZ_D50_to_lin_P3
August 22, 2025
lin_P3_to_XYZ_D50XYZ_D50_to_lin_P3Use Number.isNaN instead of NaN for consistency.
February 23, 2025
Number.isNaN instead of NaN for consistency.fix XYZ_D50_to_HWB to not do corrections for out of gamut colors.
August 14, 2024
XYZ_D50_to_HWB to not do corrections for out of gamut colors.Updated: Support for Node v18+ (major).
August 3, 2024
_June 29, 2024_ - Optimize matrix multiplication
June 29, 2024
_April 21, 2024_ - Add mapGamutRayTrace function
April 21, 2024
mapGamutRayTrace functionAdd contrast_ratio_wcag_2_1 function
March 31, 2024
contrast_ratio_wcag_2_1 functionUse higher precision color conversion matrices.
December 15, 2023
_September 2, 2023_ - Undo the changes from 3.0.1.
September 2, 2023
3.0.1.Clamp negative saturation in hsl to 0.
August 28, 2023
hsl to 0.Change license to MIT-0 (read more about this change in the blog post)
July 3, 2023
MIT-0 (read more about this change in the blog post)_May 19, 2023_ - Fix gamut mapping - Fix XYZ_D50_to_ProPhoto - Export sRGB_to_HWB
May 19, 2023
XYZ_D50_to_ProPhotosRGB_to_HWBRemoved certain implementation specific helpers. Keeping this package more focussed on general purpose color transformations.
March 25, 2023
xyz specific helpers. These make it easy to transform to and from xyz-d50 and any other color space._February 2, 2023_ - Initial version
February 2, 2023
Your coding agent can read these notes before it upgrades. Set up the MCP server →