Search…
Resources
Related Links
color
To return or convert to a color value
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

color("blue")
Result: Blue, but not the Ninox blue.
color("#4970FF")
Result: The Ninox blue
color(73, 112, 255)
Result: The Ninox blue in RGB code
color(73, 112, 255, 0.5)
Result: The Ninox blue in RGB code with the opacity set to 50%.
color(Status)
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.
Last modified 2mo ago
Export as PDF
Copy link
On this page
Syntax
Return
Examples
See also