COLORREF - harborsiem/WinForms-Ribbon GitHub Wiki

_COLORREF

It is a helper struct for the Windows COLORREF. It is used by UI_HSBCOLOR.

Public constructors, methods, properties and events:

Constructors:

Name Description
_COLORREF() Initializes a new instance of the _COLORREF struct with value = 0.
_COLORREF(uint) Initializes a new instance of the _COLORREF struct by a COLORREF value.

Methods:

Name Description
GetRValue() Get the red part of the color (byte). Range 0 .. 255
GetGValue() Get the green part of the color (byte). Range 0 .. 255
GetBValue() Get the blue part of the color (byte). Range 0 .. 255

Properties:

Name Description
Value (uint) Get the COLORREF (_COLORREF) value

Events: