Convert NCS color names to screen values
npm install ncs-colorNatural Color System
NCS 5000-N or NCS S 2060-G20Y). Returns _null_ if the color name is invalid. Note that this module does not check if the passed color value is actually possible to produce in actual manufacturing environments (only ~1950 colors are actually available).
javascript
const ncsColor = require('ncs-color');
ncsColor.hex('NCS S 2080-G20Y'); // => '#65d636'
`
$3
`javascript
require(['ncs-color'], function(ncsColor){
ncsColor.rgb('NCS 5000-N'); // => 'rgb(127,127,127)'
});
`
$3
`html
`
$3
`sh
$ npm install ncs-color --save
``