HSL - script and chart function
HSL() is used in expressions to set or evaluate the color properties of a chart object, where the color is defined by values of hue, saturation, and luminosity between 0 and 1.
Syntax:
HSL (hue, saturation, luminosity)
Return data type: dual
Arguments:
Argument | Description |
---|---|
|
|
If interpreting the numeric component and formatting it in hexadecimal notation, the
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.