red()

Color / Creating & Reading

Description

Extracts the red value from a color.

Syntax

float red(color c)

Parameters

NameTypeDescription
ccolorany color value

Returns

float

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...