chart.bg_color - Pine Script Variable
chart.bg_color
Section titled “chart.bg_color”Overview
Section titled “Overview”Returns the color of the chart’s background from the “Chart settings/Appearance/Background” field. When a gradient is selected, the middle point of the gradient is returned.
colorQualifier
Section titled “Qualifier”input