IColor::RGB Property
From PDF XChange PDF SDK
Property RGB of interface IColor returns/sets Value of ULONG constructed from the three values of the RGB color. Each of the values should be 255 based and the value itself is constructed by using this macro:
#define RGB(r,g,b) ((COLORREF)(((BYTE)(r)|((WORD)((BYTE)(g))<<8))|(((DWORD)(BYTE)(b))<<16)))
Syntax
HRESULT get_RGB([out, retval] ULONG* nRGB); HRESULT put_RGB([in] ULONG nRGB);