Skip to content

v0.11.0

Compare
Choose a tag to compare
@danburzo danburzo released this 01 Jul 20:28

Features

  • Implemented deficiencyProt(), deficiencyDeuter() and deficiencyTrit() functions to simulate color vision deficiencies (CVD); (#54)

Breaking changes

  • Removed the gray() shorthand for Lab colors, to match the latest version of css-color-4;

Deprecations

A couple of umbrella functions have been split into individual functions:

  • Instead of formatter(), use formatterHex and formatterRgb directly;
  • likewise, instead of clamp(), use clampRgb and clampChroma.