Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alchemist-js

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alchemist-js

An extensible color library

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

  • Why Alchemist.js?
  • Getting Started
  • API
  • Plugins
  • Contributing

What's in the Pipeline?

  • Alpha Transparency
  • More color spaces! (HuSL anyone?)
  • Color Modifiers are ready! alchemist-common will be adding some soon.

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.

  • Bruce Lindbloom - Who's website inspired me to create alchemist.
  • Lon Ingram - Who suggested the breadth-first search, which I use to make the plugin system possible.

Thanks to all of you!

Keywords

FAQs

Package last updated on 06 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc