OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: khann on December 09, 2023, 07:35:08 PM

Title: True color value ??
Post by: khann on December 09, 2023, 07:35:08 PM
Hi, Everyone.!
I wonder how the "True color" value comes out from RGB values.

ex) R(230) , G(245), B(255) = 33551846 (True color)

can anyone help me ?
Thanks in advance!
Title: Re: True color value ??
Post by: owenwengerd on December 10, 2023, 08:27:09 AM
Each color is 8 bits (1 byte) of the combined value. You might find this thread (https://opendcl.com/forum/index.php?topic=552) helpful.
Title: Re: True color value ??
Post by: khann on December 11, 2023, 04:37:15 AM
Ohh...There was already  :D :D !
Thank you so much OWEN !!!