Skip to content

v5.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 01 Dec 03:44

Breaking

  • Remove support for hsv, hwb, ansi, and CSS keyword colors
    • These color types added bloat and were rarely used. As a result, this package should now be lighter and faster to import.
    • If you need those colors, you can use color-convert, which is what we used to depend on.

Improvements

  • Add .rgbToAnsi256(), .hexToRgb() and .hexToAnsi256() (#65) 9150f61

v4.3.0...v5.0.0