Manage
: get #00FFFF
reference color, to be replaced by #FF0000
coming from the {d.color}
marker
dynamic
: get #FF00FF
reference color, to be replaced by #00FF00
coming from the {d.color2}
marker
color
: get #0000FF
reference color in the background, to be replaced by #00FF00
coming from the {d.color3}
marker
Apply colors dynamically on elements with the bindColor
marker.
The bindColor
marker is supported on:
text and background colors
table cells background
shapes backgrounds and lines colors for DOCX
files only
Shapes background and lines colors in DOCX
write the bindColor
marker in the document body, not in the alternative text of shapes
the replaced color format must be solely RGB
A bindColor
marker replaces a color reference on the template with a new color coming from your JSON dataset in Ninox.
myColorToBind
a temporary hexadecimal color applied to a text, background or a cell background
used to identify the color to replace
the hexadecimal is case insensitive and the hashtag at the beginning is optional
In Microsoft Word, only a color name can be used to replace the background color of a text. Learn more about the Microsoft Word exception.
myFormat
the new color format expected from the marker myVar
available Color formats
myVar
The marker that corresponds to the new color.
In Microsoft Word, only a color name can be used to replace the background color of a text.
You can still use hexadecimal colors for the text and cells backgrounds in Microsoft Word.
Microsoft
: get the red
background color
Word
: get the magenta
background color
the background: get the #FFFF00
background color
Each line in a table can be colorized by one color:
first line: get #0000FF
color
second line: get #00FFFF
color
each line: get the color corresponding to the color key in each user object
The first line get the #0000FF
color and the second line get the #00FFFF
color. Each line get the color corresponding to the color key in each user object.