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-colorExample usage:
cryptoColor("BTC", false);
// returns "rgb(244,147,27)"
cryptoColor("BTC", true, 0.3);
// returns "rgba(244,147,27,0.3)"To contribute, please add in your contribution to tracker.md, add it to the json, build index.ts and make a PR.