Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCmEntityColor::lookUpRGB Method
Syntax
C++
static OdUInt32 lookUpRGB(OdUInt8 colorIndex);

Converts the specified color index (ACI value) to an RGB value.

For converting, this method uses the default palette specified by the mLUT static array and returns the RGB value without color method as a packed integer value in which: 

 

Byte
Description
0
Blue component.
1
Green component.
2
Red component.
Copyright © 2002-2022. Open Design Alliance All rights reserved.