hex-color-to-color-name
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

HexColorToColorName

HexColorToColorName is a TypeScript library which give you the closest human-readable color name for a color's hexcode.

Installation

Use the package manager npm to install HexColorToColorName.

npm install hex-color-to-color-name

Usage

import { GetColorName } from 'hex-color-to-color-name';
 
const colorName = GetColorName('000000'); # returns 'Black'

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Package Sidebar

Install

npm i hex-color-to-color-name

Weekly Downloads

1,847

Version

1.0.2

License

ISC

Unpacked Size

65.2 kB

Total Files

4

Last publish

Collaborators

  • jeff3754