Skip to content

getRed()

Return the red component of the color.

color.getRed()

Returns

return red

Value Type Description
red int The red component, from 0 to 255.