dos_acitorgb - dalefugier/DOSLib GitHub Wiki

Converts an AutoCAD Color Index (ACI) value to a Red-Green-Blue (RGB) color value.

Syntax

(dos_acitorgb aci-value)

Parameters

aci-value

An integer between 1 and 255 that represents an ACI color value.

Returns

A list of three integers representing an RGB color value if successful.

nil on error.

Example

Command: (dos_acitorgb 1)
(255 0 0)
Command: (dos_acitorgb 128)
(0 76 57)