coolors-to-hex

1.0.3 • Public • Published

coolors-to-hex

Generated with nod NPM version Build Status Coverage Status

Get hexadecimal values from a coolors url

Install

$ npm install --save coolors-to-hex

Usage

import coolorsToHex from 'coolors-to-hex'
 
coolorsToHex('https://coolors.co/d32f2f-f44336-f8877f-ffcdd2-ffffff')
// returns ['#d32f2f', '#f44336', '#f8877f', '#ffcdd2', '#ffffff']

API

coolorsToHex

Returns an array of hexadecimal string colors.

Parameters

Returns Array<string>

License

MIT © Diego Haz

Readme

Keywords

Package Sidebar

Install

npm i coolors-to-hex

Weekly Downloads

9,488

Version

1.0.3

License

MIT

Last publish

Collaborators

  • diegohaz