github color-js/color.js v0.4.1
v0.4.1: TypeScript support, legacy builds

latest releases: v0.6.0-alpha.1, v0.5.2, v0.5.1...
2 years ago

The main new feature of this release is Typescript support, added in this Herculean PR by @MysteryBlokHed and reviewed by @jgerigmeyer.

Other new features and changes:

  • deltaPhi contrast method now supported, thanks to a PR by @Myndex
  • Node v12 and somewhat older browsers are now supported, through separate .legacy builds, thanks to a PR by @jgerigmeyer
  • The premultiplied option is now supported in mix(), thanks to a PR by @redneb
  • Support both number and percent in (ok)lab and (ok)lch lightness. Serialize as number, per spec.
  • Lab-D65 is now serialized as lab-d65() and not lab().

All merged pull requests

New Contributors

Full Changelog: v0.4.0...v0.4.1

Don't miss a new color.js release

NewReleases is sending notifications on new releases.