All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
2.2.0 (2024-10-08)
- handle okhsl/okhsv lightness and saturation epsilon (ie. achromatic and close to white edge cases) (5c39853)
- add lch/oklch (0e0e437)
- add P3 (386302a)
- add XYZ D50 and split with D65 + split lab50/65 (0cdc911)
- update css (8aec1bf)
2.1.1 (2024-07-09)
2.1.0 (2024-02-05)
- deprecate toRGB (for set()) and fromRGB (for fromValues) (06cc1e2), closes #21
- rename RGBBytes to Bytes (b71c0b4), closes #22
2.0.4 (2023-08-11)
2.0.3 (2023-07-25)
2.0.2 (2023-05-22)
2.0.1 (2023-05-22)
2.0.0 (2023-05-22)
- allow default out in color.toRGB (d9d20a1)
2.0.0-alpha.2 (2022-09-09)
- import color types (9c3db86)
2.0.0-alpha.1 (2022-07-26)
2.0.0-alpha.0 (2022-07-26)
- handle alpha conditionally in setRGBBytes + remove wrong rounding (09a2270)
- handle alpha in getRGBBytes (b0ee96b)
- wrong operation order with ** operator (98f719e)
- use ES modules (2e56b3a)
- add alpha and three-digit notation hex support to setHex (6523d53)
- add alpha support to getHex (ff3cc3c)
- add CIELUV (hsluv, hpluv, lchuv) (b37c7e4)
- add css (af9387f)
- add linear (7acaed3)
- add okhsl and okhsv (942007b)
- add oklab (d27d7d4)
- change API to only fromType and getType + handle alpha (2b0eade)
- destructure get hsl and hsv parameters and handle default alpha (bfb44b1)
- handle alpha for xyz and lab (59619b4)
- normalize hsluv/hpluv/lchuv and xyz (7901670)
- normalize lab (b3f0277)
- replace getType by toType (e1727f7)
- extract x,y,z tristimulus values + remove intermediary let declaration (1a8df42)
- remove intermediary const declaration in from functions (b20ffd4)
- switch to type module