Color.ToHexString
method · Color · cAlgo.API
DesktopCLICloud
Get the hex string representation of the color.
Definition
public string ToHexString()
color.ToHexString() -> str
Returns string — The hex string representation of the color.
Examples
Print("Background color: {0}", Chart.ColorSettings.BackgroundColor.ToHexString());
api.Print(f"Background color: {api.Chart.ColorSettings.BackgroundColor.ToHexString()}")