Skip to content

v8.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Sep 14:44
· 59 commits to main since this release
90127d7

Major Changes

  • 54ee0ce: Changed hexToRgb() and rgbToHex() to support #RGBA and #RRGGBBAA color codes (with an alpha channel).
    Both functions now have an alpha value immediately after blue, which can be set to undefined to restore the old behavior.

Minor Changes

  • 54ee0ce: Added parameter upperCase (false by default) to lightenColor() and darkenColor()

Patch Changes

  • 54ee0ce: Consolidated behavior of lightenColor() and darkenColor() when using non-number values