color
To return or convert to a color value
Last updated
To return or convert to a color value
Last updated
With this function, you can assign a color value to a color or formula field. You also can get the color value of a selected option in a choice field.
To return a specific color, you can either pass a string referencing the color or 3 (up to 4) numbers referring to the RGB/RGBA colors.
color()
accepts any valid HTML/CSS color identifier.
color(string)
color(number, number, number)
color(number, number, number, number)
color(choice)
color
Result: Blue, but not the Ninox blue.
Result: The Ninox blue
Result: The Ninox blue in RGB code
Result: The Ninox blue in RGB code with the opacity set to 50%
Result: Returns the color of the selected option of the Status choice field.
icon
, which returns an icon.
styled
, which converts a given string to a styled object.