Get hexadecimal values from a coolors url
$ npm install --save coolors-to-hex
import coolorsToHex from 'coolors-to-hex'
coolorsToHex('https://coolors.co/d32f2f-f44336-f8877f-ffcdd2-ffffff')
// returns ['#d32f2f', '#f44336', '#f8877f', '#ffcdd2', '#ffffff']
Returns an array of hexadecimal string colors.
Parameters
url
string
MIT © Diego Haz