crypto-color-extracter
v1.0.2
Published
simple js crypto-currency primary color extractor util
Downloads
7
Maintainers
Readme
crypto-color-extracter
This package takes a crypto currency name and returns the currencies primary color
Installation instructions
npm install crypto-color-extracter --save or yarn add crypto-color-extracter
Example
import colorExtract from 'crypto-color-extracter';
const color = colorExtract('bitcoin');
// returns "rgb(247,147,26)"
Contributing
As crypto currencies come and go send a pr so we can update this list.