Skip to content

v4.0.2

Latest
Compare
Choose a tag to compare
@danburzo danburzo released this 27 Jun 16:01

Bug fixes

  • Changed XYZ <-> Oklab conversion matrices to match those used in the css-color-4 spec (#237, #249, #255)
  • toGamut() throws a more useful error than simply crashing then mode color space does not have lightness and chroma components (#261)
  • Changed reference component value ranges for lab / lch / lab65 / lch65 to match CSS spec (#260)