Category:
Miscellaneous
Returns a string representing an RGB color value in HTML format.
Syntax
rgb(
Red Integer,
Green Integer,
Blue Integer
): String
Parameters
Red is the number in the range from 0 to 255, inclusive, that represents the red component of the color.
Green is the number in the range from 0 to 255, inclusive, that represents the green component of the color.
Blue is the number in the range from 0 to 255, inclusive, that represents the blue component of the color.
Return value
Type: String. Returns the resulting color value.
Examples of using
rgb(255 - round(dataset_field_val(1, 'Revenue')), 0, 0))