getRed

getRed

> Functions

Returns the amount of red in the color color, between 0 and 255. For example, getRed(COLOR_RED) = 255 and getRed(COLOR_BLUE) = 0.

Parameters
Return