🎨 Easy color manipulation in ~2kb (gzipped)
Bugfix for contrast
method
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
.setAlpha()
to absolutely change the alpha transparency of a `polychromehsla
and rgba
values when there was no leading 0
for the alpha float
Removed ability to depend on global polychrome
object. This will more than likely be added back in to a future release.
browser
property to package.json
to allow for using polychrome
as a script includelighten
, fadeIn
, and saturate
to work on the color "#000"
and for colors that have a 0
alpha value