ntc-and-hue

1.0.2 • Public • Published

This package is node.js version of tool http://www.color-blindness.com/color-name-hue-tool/js/ntc.js

Visual example: https://www.color-blindness.com/color-name-hue/

Usage example

let result = ntc.name('#6195ed');

let rgb_value = result[0]; // #6495ed : RGB value of closest match let specific_name = result[1]; // Cornflower Blue : Color name of closest match let shade_value = result[2]; // #0000ff : RGB value of shade of closest match let shade_name = result[3]; // Blue : Color name of shade of closest match let is_exact_match = result[4]; // false : True if exact color match

Package Sidebar

Install

npm i ntc-and-hue

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

60.7 kB

Total Files

3

Last publish

Collaborators

  • andrew_kuktenko