0.0.12 • Published 3 years ago
crypto-color v0.0.12
Created to replace crypto-color-extractor
as it has outdated dependancies and is no longer maintained.
Uses cryptocurrencies as a reference point for currency tickers.
Uses colortheif to generate the color values.
Install
$ npm install crypto-color
Example usage:
cryptoColor("BTC", false);
// returns "rgb(244,147,27)"
cryptoColor("BTC", true, 0.3);
// returns "rgba(244,147,27,0.3)"
There are currently 1926 cryptocurrencies represented*:
To contribute, please add in your conribution to the tracker, make the changes in index.ts and make a PR.