autocad-colors-index
v1.0.3
Published
AutoCAD Colors Index
Downloads
113
Readme
AutoCAD Colors Index
Simple map by ACI, HEX and RGB.
Usage
const colorsMapper = require('autocad-colors-index')
const aci = colorsMapper.getByACI(255)
const hex = colorsMapper.getByHEX('#ffffff')
console.log(aci.hex === hex.hex) // true
console.log(aci.rgb) // has rgb too