- New plugin: Color mixing
- 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
- Parser update: Turn NaN input values into valid numbers ❤️ @subzey
- New plugin: CIE LAB color space
- Make bundle 1% lighter
- Add
isValid
method
- An official production-ready release
- Sort named colors dictionary for better compression ❤️ @subzey
- Ignore
null
input in the parsers
- Shorten conversion method names (
toRgba
totoRgb
, etc)
- New plugin: HWB color model
- More accurate HSL and HSV conversions
- Names plugin: Support "transparent" keyword
- Improve package exports
- Add CommonJS exports
- New plugin: a11y (Accessibility)
- New plugin: CIE XYZ color space
- 20% speed improvement ❤️ @jeetiss
- 100% code coverage
- Make plugin available in Parcel which doesn't support exports map yet
- Fix names plugin TS declarations export
- Documentation
- New plugin: CSS color names
- Make the library ESM-first
- Add code coverage reports
- Implement Plugin API
- Support 4 and 8 digit Hex
- Basic API