color

6 functions. Each has a page of its own.

FunctionSummary
color.aReads the opacity of a colour.
color.bReads the blue component of a colour.
color.gReads the green component of a colour.
color.newTakes a colour and an opacity, and returns that colour at that opacity.
color.rReads the red component back out of a colour.
color.rgbBuilds a colour from red, green and blue components, with an optional opacity.

Part of the function index.

Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.
Upgrade