toHex

Obtain the numeric value of the RGB for the color.

pure
int
toHex

Parameters

c Color

a Color

Return Value

Type: int

Numeric RGB value for color, or -1 if it cannot be represented.

Meta