cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Creating Materials through GDL objects with known RGB values

Anonymous
Not applicable
The GDL reference book refers to creating materials through GDL scripting however I can't find where it mention what format the RGB values are in other than values between 1 and 0 for each RGB value. Has anyone had experience creating materials using RGB as Actual Value, 8-bit (the usual 255 color system) or as a percentage?
1 REPLY 1
Anonymous
Not applicable
It's easy.

0.5 = 50% (or about 127 in the 8bit equivalent)

Just do the arithmetic.