- Add support for analogous set in color interpolations
February 21, 2026
- Updated
@csstools/css-calcto3.1.1(minor) - Updated
@csstools/color-helpersto6.0.2(patch)
January 25, 2026
- Updated
@csstools/color-helpersto6.0.1(patch)
January 14, 2026
- Updated: Support for Node
20.19.0or later (major). - Removed:
commonjsAPI. In supported Node versionsrequire(esm)will work without needing to make code changes. - Updated
@csstools/color-helpersto6.0.0(major) - Updated
@csstools/css-tokenizerto4.0.0(major) - Updated
@csstools/css-parser-algorithmsto4.0.0(major) - Updated
@csstools/css-calcto3.0.0(major)
August 22, 2025
- Add support for
display-p3-linearincolor(display-p3-linear 0.3081 0.014 0.0567) - Add support for
display-p3-linearincolor-mix(in display-p3-linear, red, blue) - Add support for omitting the color space in
color-mix(red, blue) - Add support for
alpha(from red / 0.5) - Updated
@csstools/color-helpersto5.1.0(minor)
May 27, 2025
- Updated
@csstools/css-tokenizerto3.0.4(patch) - Updated
@csstools/css-parser-algorithmsto3.0.5(patch) - Updated
@csstools/css-calcto2.1.4(patch)
April 19, 2025
- Drop the
maxkeyword forcontrast-color( <color> ) - Updated
@csstools/css-calcto2.1.3(patch)
February 23, 2025
- Use
Number.isNaNinstead ofNaNfor consistency. - Updated
@csstools/color-helpersto5.0.2(patch) - Updated
@csstools/css-calcto2.1.2(patch)
December 27, 2024
- Fix precision of negative numbers.
- Updated
@csstools/css-calcto2.1.1(patch)
November 11, 2024
- Updated
@csstools/css-calcto2.1.0(minor)
November 1, 2024
- Updated
@csstools/css-tokenizerto3.0.3(patch) - Updated
@csstools/css-parser-algorithmsto3.0.4(patch) - Updated
@csstools/css-calcto2.0.4(patch)
October 23, 2024
- Updated
@csstools/css-parser-algorithmsto3.0.3(patch) - Updated
@csstools/css-calcto2.0.3(patch)
October 10, 2024
- Updated
@csstools/css-tokenizerto3.0.2(patch) - Updated
@csstools/css-parser-algorithmsto3.0.2(patch) - Updated
@csstools/css-calcto2.0.2(patch)
August 18, 2024
- Updated
@csstools/css-tokenizerto3.0.1(patch) - Updated
@csstools/css-parser-algorithmsto3.0.1(patch) - Updated
@csstools/css-calcto2.0.1(patch)
August 14, 2024
- Updated
@csstools/color-helpersto5.0.1(patch)
August 3, 2024
- Updated: Support for Node v18+ (major).
- Updated
@csstools/css-tokenizerto3.0.0(major) - Updated
@csstools/css-parser-algorithmsto3.0.0(major) - Updated
@csstools/css-calcto2.0.0(major)
July 13, 2024
- fix
serializeP3whengamutMappingisfalse
July 6, 2024
- Updated
@csstools/css-tokenizerto2.4.1(patch) - Updated
@csstools/css-parser-algorithmsto2.7.1(patch) - Updated
@csstools/css-calcto1.2.4(patch)
June 29, 2024
- Updated
@csstools/color-helpersto4.2.1(patch) - Updated
@csstools/css-tokenizerto2.3.2(patch) - Updated
@csstools/css-parser-algorithmsto2.7.0(minor) - Updated
@csstools/css-calcto1.2.3(patch)
May 4, 2024
- Updated
@csstools/css-tokenizerto2.3.1(patch) - Updated
@csstools/css-parser-algorithmsto2.6.3(patch) - Updated
@csstools/css-calcto1.2.2(patch)
May 4, 2024
- Improve handling of
NaNandInfinityin color functions. - Updated
@csstools/css-tokenizerto2.3.0(minor) - Updated
@csstools/css-parser-algorithmsto2.6.2(patch) - Updated
@csstools/css-calcto1.2.1(patch)
April 21, 2024
- Switch to the ray-tracing gamut mapping algorithm. This is a minimally invasive change when generating fallback colors for CSS but breaking if you relied on the exact output of the previous gamut mapping algorithm.
- Fix
nonekeyword conversion in relative color syntax origin values. (again) - Updated
@csstools/color-helpersto4.2.0(minor)
March 31, 2024
- Fix missing rectangular color spaces for interpolation in
color-mix(). - Fix
nonekeyword conversion in relative color syntax origin values. - Updated
@csstools/color-helpersto4.1.0(minor)
March 16, 2024
- Fix powerless components for
lchandoklchwithnonechroma.
March 16, 2024
- Fix powerless components for
hslwithnonesaturation.
March 13, 2024
- Add support for
contrast-color( <color> max ) - Allow relative color syntax in
rgbaandhslacolor notations. - Updated
@csstools/css-tokenizerto2.2.4(patch) - Updated
@csstools/css-parser-algorithmsto2.6.1(patch) - Updated
@csstools/css-calcto1.2.0(minor)
February 19, 2024
- Clamp negative saturation to zero in modern
hsl - Updated
@csstools/css-parser-algorithmsto2.6.0(minor) - Updated
@csstools/css-calcto1.1.7(patch)
December 31, 2023
- Updated
@csstools/css-tokenizerto2.2.3(patch) - Updated
@csstools/css-parser-algorithmsto2.5.0(minor) - Updated
@csstools/css-calcto1.1.6(patch)
December 15, 2023
- Add the
Experimentalsyntax flag, to be used in future features. - Add a
serializeHSLfunction. - Fix type definitions
- Improve JS Doc comments
- Updated
@csstools/color-helpersto4.0.0(major) - Updated
@csstools/css-tokenizerto2.2.2(patch) - Updated
@csstools/css-parser-algorithmsto2.4.0(minor) - Updated
@csstools/css-calcto1.1.5(patch)
October 9, 2023
- Add utility to determine if a color is in the Display P3 gamut.
October 2, 2023
- Fix interpolation of
huewhen either or both components arenoneandlongeris the interpolation method.
September 24, 2023
- Small performance improvements
- Updated
@csstools/css-tokenizerto2.2.1(patch) - Updated
@csstools/css-parser-algorithmsto2.3.2(patch) - Updated
@csstools/css-calcto1.1.4(patch)
September 2, 2023
- Fix clipping of values in
hsl,hwbandrgbcolor notations. - Updated
@csstools/color-helpersto3.0.2(patch)
August 28, 2023
- Add a
serializeOKLCHfunction. - Always convert to the target color space, even when the input color is already in that specific color space.
- Correctly apply the hue interpolation method when either angle is missing.
- Updated
@csstools/color-helpersto3.0.1(patch)
July 24, 2023
- Allow number values in
hwb. - Fix value calculation for
s,l(hsl) andw,b(hwb) components in relative color syntax. aandbcomponents inlabandoklabare analogous.- Powerless components are limited to achromatic colors and only affect
hueunless otherwise specified. - Fix value normalization.
- Updated
@csstools/css-tokenizerto2.2.0(minor) - Updated
@csstools/css-parser-algorithmsto2.3.1(patch) - Updated
@csstools/css-calcto1.1.3(patch)
July 3, 2023
- Updated
@csstools/color-helpersto3.0.0(major) - Updated
@csstools/css-parser-algorithmsto2.3.0(minor) - Updated
@csstools/css-calcto1.1.2(patch)
June 14, 2023
- Fix value calculation for
huecomponents in relative color syntax.
May 19, 2023
- Add support for relative color syntax.
- Updated
@csstools/color-helpersto2.1.0(minor)
April 10, 2023
- Updated
@csstools/css-tokenizerto2.1.1(patch) - Updated
@csstools/css-parser-algorithmsto2.1.1(patch) - Updated
@csstools/css-calcto1.1.1(patch)
April 10, 2023
- Improve the detection of math function in color notations.
March 28, 2023
- Add a flag to
serializeP3andserializeRGBto skip gamut mapping.
March 25, 2023
- Initial version