- Last updated: 2026-04-18T11:32:54Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. Only versions published since 2023-01-01 are listed here. Please consult the Git history for older version information. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
5.8.10 (2026-02-07)
- replace deprecated
unsupported()call sites in all pkgs (3abbddf)
5.8.5 (2025-12-03)
- update for-loops (use const where possible) (5ceaf1a)
5.8.1 (2025-10-28)
- update writeSVG() helper (df320cc)
5.8.0 (2025-10-25)
- update all color strategy fns (3eab307)
- update functions to accept
MaybeColor, fix internal LCH handling, remove result clampingcomplementaryStrategyanalogStrategysplitAnalogStrategysplitComplementaryStrategymonochromeStrategytriadicStrategytetradicStrategysquareStrategy
- update functions to accept
- add
cssColors()helper (2c080a3)
5.7.33 (2025-04-16)
- minor internal updates (imports) (269c8ae)
- update
randomtest consts (42cbe9d)
5.7.4 (2024-09-16)
- update pkg exports (f5f733f)
5.7.0 (2024-08-19)
- add setDefaultCSSConversions(), update css() (2d9e505)
- add setDefaultCSSConversions() to set default CSS color conversion rules
- update css() to use current configured default instead of CSS_LEVEL3
- add/update docs
5.6.47 (2024-06-29)
- update color ctor handling for single ARGB int args (8ab6083)
- interpret sole int arg as sRGB, not as linear RGB
- add tests
5.6.46 (2024-06-21)
- rename various rest args to be more semantically meaningful (8088a56)
- enforce uniform naming convention of internal functions (56992b2)
- dedupe types for isBlack/Gray/White() fns (a00705d)
- minor dedupe lab/lch CSS serialization (19df487)
5.6.42 (2024-04-20)
- update type usage (39494f2)
5.6.40 (2024-04-08)
- update reducer handling (5b445a7)
5.6.24 (2024-02-23)
- allow base color opt in colorFromRange() (4e7e7fe)
- fix/update readme code examples, tangle all (6eb48ac)
5.6.0 (2023-11-12)
- update temperatureMat() (eaacfa0)
- add (optional) 2nd green/magenta axis to existing blue/yellow
5.5.30 (2023-11-09)
- update/refactor tests to use bun test runner (8f6edb1)
- update/rename test files/imports (still many broken) (1cb3c49)
5.5.27 (2023-10-27)
- update vector imports (95f1d64)
5.5.19 (2023-09-19)
- update hiccup/SVG generators (37c532f)
5.5.5 (2023-07-14)
- update swatches() return type (ba73557)
5.5.0 (2023-04-19)
5.4.6 (2023-03-27)
- update all tests (mainly imports) (63a85f9)
5.4.0 (2023-03-02)
- add oklch mode impl/support (3e77420)
- add oklch() factory & class decl
- add oklab<>oklch conversions
- update analog() & rotate()
- add CSS Level4 oklab/oklch support (137d322)
- update parseCss() to support oklab/oklch colors
- add oklab/oklch CSS serializers
- update css() to optionally support CSS Color Module L4
- add CSS_LEVEL3 / CSS_LEVEL4 conversions
- update color() to accept CSS color strings (0d5b3e9)
- update oklab LMS matrices (6e2cb75)
- according to @bottosson they were already updated in 01/2021
- update parseCss()/parseHex() (dbbdc7d)
- fix support for percentages
- fix channel scale factors
- fix alpha-channel handling in parseHex()
- rename internal helpers
- add/update tests
- refactor distLch() (fa2d4e0)
- use Law of Cosines impl to avoid 1x cos and 2x sin ops
- update oklab/oklch channel ranges, add docs (d87b30d)
- update (ok)lab/lch CSS serializers (8492f5e)
- extract internal helpers
- update/fix channel scale factors
5.3.0 (2023-02-10)
- fix invert() for HSL (84d0640)