js-util

Home > rc-js-util > RgbaColorPacker > unpackR

RgbaColorPacker.unpackR() method

Signature:

static unpackR(color: number): number;

Parameters

Parameter Type Description
color number Bit packed color.

Returns:

number

a value between 0 - 255 representing the red component.