v2.0.0
⚠️ Breaking changes
➸ Please consult the Migration guide to upgrade from version
1.xto2.0.
xyzmode renamed toxyz50, along with all functions referencing it (e.g.convertLabToXyzbecomesconvertLabToXyz50) (#152).mode: 'xyz'is no longer supported.<number>for L no longer valid inlab()andlch()(#151)
New features
- All color components in all CSS color syntaxes now accept the
nonekeyword, in line with the latest changes in the CSS Color 4 spec. (w3c/csswg-drafts#6107) - Allow any number of components in the
color()CSS syntax, and fill in omitted components with0.