Skip to content
Algo Trade Analytics Docs

color.t() - Pine Script Function

Retrieves the color’s transparency.

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

The value (0-100) of the color’s transparency.

//@version=6
indicator("color.t", overlay=true)
plot(color.t(color.new(color.red, 50)))