1.0.2 • Published 6 years ago

hex-colors-info v1.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Hex Color Info

Get color name and other informations from Hex Color Code

Install

npm install hex-colors-info

Usage

// Example

const hexColorInfo = require ('hex-colors-info')
const colorInfo = hexColorInfo('#48D1CC')

console.log(colorInfo)

// {
//   hex: '#48D1CC',
//   name: 'Medium Turquoise',
//   hueHex: '#0000FF',
//   hueName: 'Blue',
//   match: true
// }

Refs