API Reference > OdCm Classes > OdCmEntityColor Class > OdCmEntityColor Methods > OdCmEntityColor::lookUpRGB Method
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 
Blue component. 
Green component. 
Red component. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.