COLORREF (Structures)
Last changed: -24.16.62.116

.
Summary
The COLORREF value is used to specify or retrieve an RGB color.

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct COLORREF {
   public byte R;
   public byte G;
   public byte B;
}

VB Definition:

Structure COLORREF
     Public R As Byte
     Public G As Byte
     Public B As Byte

     Public Overrides Function ToString() As String
     Return String.Format("({0},{1},{2})", R, G, B)
     End Function
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
COLORREF on MSDN