-
Notifications
You must be signed in to change notification settings - Fork 28
dos_rgbtoaci
Dale Fugier edited this page Dec 1, 2018
·
1 revision
Converts a Red-Green-Blue (RGB) color value to the closest AutoCAD Color Index (ACI) value.
(dos_rgbtoaci red green blue)
(dos_rgbtoaci rgb)
red
The red component of an RGB color value.
green
The green component of an RGB color value.
blue
The blue component of an RGB color value.
rgb
An RGB color value.
An ACI color value if successful.
nil on error.
Command: (dos_rgbtoaci 0 0 255)
5
Command: (dos_rgbtoaci 16711680)
5