kukagg / autocad-colors-index

AutoCAD Colors Index Mapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

AutoCAD Colors Index Mapper


Languages

Language:JavaScript 100.0%