1.0.2 • Published 5 years ago
hex-color-to-color-name v1.0.2
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-nameUsage
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.