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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    16,259
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    16,259
  • 1.0.2
    3
  • 1.0.1
    2
  • 1.0.0
    3

Package Sidebar

Install

npm i coolors-to-hex

Weekly Downloads

6,449

Version

1.0.3

License

MIT

Last publish

Collaborators

  • diegohaz