ARGB - script and chart function
ARGB() is used in expressions to set or evaluate the color properties of a chart object, where the color is defined by a red component r, a green component g, and a blue component b, with an alpha factor (opacity) of alpha.
Syntax:
ARGB(alpha, r, g, b)
Return data type: dual
Arguments:
Argument | Description |
---|---|
|
Transparency value in the range 0 - 255. 0 corresponds to full transparency and 255 corresponds to full opacity. |
|
Red, green, and blue component values. A color component of 0 corresponds to no contribution and one of 255 to full contribution. |
If interpreting the numeric component and formatting it in hexadecimal notation, the values of the color components are easier to see.For example, light green has the number 4 278 255 360, which in hexadecimal notation is
Please refer to Coloring a visualization, to find examples of how to use the color functions in visualizations, as well as details on the visualizations that support color by expression.