npm.io
1.0.0 • Published 7 years ago

crypto-color-extractor

Licence
MIT
Version
1.0.0
Deps
1
Size
13 kB
Vulns
0
Weekly
0

crypto-color-extractor

This package takes a crypto currency name in string format and returns the currencies primary color

Installation instructions

$ yarn add crypto-color-extractor

Example


import colorExtract from 'crypto-color-extractor';

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.