Skip to content

Symbol Colors

Terry Burton edited this page Jan 31, 2026 · 16 revisions

Symbol Colors

Colors can be specified as a hex RRGGBB value (RGB) or a hex CCMMYYKK value (CMYK) or a predefined color name beginning with "_".

For information about advanced use of colors (separations, non-standard colour spaces, etc.) read the article on named colors.

barcolor

Color of the bars or dark modules.

Example

Data:    Color
Options: layers=6 barcolor=AA0000
Encoder: azteccode

backgroundcolor

Color of the light background or light modules.

Example

Data:    Color
Options: layers=6 backgroundcolor=FFFFCC
Encoder: azteccode

bordercolor

Color of the border.

Example

Data:    Color
Options: layers=6 showborder borderwidth=3 bordercolor=0000AA
Encoder: azteccode

textcolor

Color of the text.

Example

Data:    Color
Options: layers=6 includetext alttext=Color textcolor=008800
Encoder: azteccode

extratextcolor

Color of any extra text.

Example

Data:    Color
Options: layers=6 extratext=LABEL extratextcolor=AA00AA
Encoder: azteccode

Combined Example

Multiple color options used together:

Data:    Color
Options: layers=6 includetext alttext=Color textyoffset=-3
         extratext=LABEL extratextyoffset=4 showborder borderwidth=2
         barcolor=2E5090 backgroundcolor=FFF4E6 bordercolor=5A8F7B
         textcolor=4A4A4A extratextcolor=C85A2E
Encoder: azteccode

Clone this wiki locally