GetRed - ColorComponent

From Creation Kit
Jump to: navigation, search

Source: SKSE 1.06.00

Member of: ColorComponent Script


Gets the Red component value from the specified Alpha-Red-Green-Blue (ARGB) color code.

Syntax

int Function GetRed(int argb) global native

Parameters

argb

The ARGB color code to retrieve the red component value of, expressed as an integer.

Return Value

The red value of the ARGB code, ranges from 0 to 255.


See Also