BLUE

Syntax

=BLUE(color)

Arguments

ArgumentTypeDescription
colorColorThe color

Examples

=BLUE("#0000ff")255
Gets the blue channel for the color represented by the hex color code #0000ff (blue)

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

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