Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
RED
[go: Go Back, main page]

RED

Syntax

=RED(color)

Arguments

ArgumentTypeDescription
colorColorThe color

Examples

=RED("#0000ff")0
Gets the red channel for the color represented by the hex color code #0000ff (blue)

=RED(RGB(128, 0, 0))128
Gets the red channel for a color having a value of 128 for red, 0 for green, and 0 for blue (dark red)

=RED(0)#ERROR!
Attempts to get the red channel from an integer, which is invalid because it cannot be converted to a color