1.0.2 • Published 4 years ago

hex-color-to-color-name v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

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