webdesserts / alchemist-js

The extensible color library
https://webdesserts.gitbooks.io/alchemist-js/
MIT License
11 stars 2 forks source link

alchemist logo

Alchemist.js

The extensible color library.

var alchemist = require('alchemist-js')

alchemist.rgb(150, 100, 50).hsl() // => [ 30, 0.5, 0.39 ]

alchemist.use({
  name: 'lsh',
  to: {
    'hsl': function (L, S, H) {
      return [H, S, L]
    }
  }
})

alchemist.lsh(.75, .5, 180).hsl() // => [180, .5, .75]

Documentation

What's in the Pipeline?

Want to help Alchemist reach v2.0 a bit faster? Send a pull request!

Special Thanks

Alchemist wouldn't have been possible without the many other color libraries already out there. Much of the code for Alchemist and it's plugins were either heavily inspired by, or taken directly out of one of these libraries:

Also, extra special thanks to a few individuals who helped me along the way.

Thanks to all of you!