Skip to content
Algo Trade Analytics Docs

color.b() - Pine Script Function

Retrieves the value of the color’s blue component.

color.b(color) → const float
NameTypeDescription
colorconst colorColor.

The value (0 to 255) of the color’s blue component.

//@version=6
indicator("color.b", overlay=true)
plot(color.b(color.blue))