Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 295 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 295 Bytes

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