Skip to content

Color.ForestGreen

property · Color · cAlgo.API

DesktopCLICloud

Gets a system-defined color that has an ARGB value of #FF228B22.

Definition

public static Color ForestGreen {get;}
Color.ForestGreen: Color

Returns Color

Examples

var line = Chart.DrawHorizontalLine("level", Bars.ClosePrices.LastValue, Color.ForestGreen);
Print("Line color: {0}", line.Color.ToHexString());
line = api.Chart.DrawHorizontalLine("level", api.Bars.ClosePrices.LastValue, Color.ForestGreen)
api.Print(f"Line color: {line.Color.ToHexString()}")