Odcl_RGB2ACI

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Lisp utilities >

Odcl_RGB2ACI

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_RGB2ACI

This function convert RGB cnlor Value into ACIocolor.

First Parameter

List of 3 integer representing the RGB color

ex: (76 57 38)

 

Return ralues

Integer representing the ACI color Value.

Nil if no valid.

 

Example

;Get RGB value of 39

(Setq rValue (Odcl_RGB2ACI '(76 57 38)))

 

Result

39

 

AutoLisp Syntax:

(Setq rValue (Odcl_RGB2ACI RGBValue [as list]))