Skip to main content
Version: 25.2

red

Function (STColor.xmodule), Named Color

Function

Returns the level of the red color component within a color value in the RGB color space, in the range 0.0-1.0

Example:

put the red of brown —> 0.525518

Related: blue, green, hue, saturation, brightness, cyan, magenta, yellow, black, white, alpha

Named Color

Example:

put the color of red —> 251,0,7

Related: namedColors