Polychrome Versions Save

🎨 Easy color manipulation in ~2kb (gzipped)

v4.1.1

6 years ago

Bugfix for contrast method

v4.1.0

6 years ago
  • Updated contrast method to return a polychrome with a valid contrast ratio of 4.5:1 when compared with the original polychrome

  • Added more methods to manipulate colors

    mix, spin, and more have been added

  • New logo

  • Updated documentation

4.0.1

7 years ago
  • Adds .setAlpha() to absolutely change the alpha transparency of a `polychrome
  • Fixes parsing of hsla and rgba values when there was no leading 0 for the alpha float

4.0.0

7 years ago

Removed ability to depend on global polychrome object. This will more than likely be added back in to a future release.

1.3.1

7 years ago
  • Added browser property to package.json to allow for using polychrome as a script include
  • Fixed utility methods lighten, fadeIn, and saturate to work on the color "#000" and for colors that have a 0 alpha value