Skip to content

Releases: bluefirex/color-ts

v1.2.1

02 May 15:24
v1.2.1
23e47eb
Compare
Choose a tag to compare
  • Bugfix for white/black detection

v1.2.0

24 Apr 11:35
v1.2.0
8598ddb
Compare
Choose a tag to compare

Introduces four new functions:

const color = Color.fromHex('#000000'),
    otherColor = Color.fromHex('#010101')

console.log(color.isBlack()) // true
console.log(color.isWhite()) // false
console.log(color.isSimilarTo(otherColor)) // true
console.log(Color.areSimilar(color, otherColor)) // also true

v1.0.0 - Initial Release

19 Sep 19:34
v1.0.0
7436a02
Compare
Choose a tag to compare

This is the initial release of color-ts. Please report any issues here on GitHub.