crypto-color-extracter

simple js crypto-currency primary color extractor util

Usage no npm install needed!

<script type="module">
  import cryptoColorExtracter from 'https://cdn.skypack.dev/crypto-color-extracter';
</script>

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.