11-04-2019 09:34 AM
When you retrieve the color of a tag using the API it returns a color number, not the pretty name of the color. The table below maps all of these color values in PanOS 9.0.
Tag Color | API Value |
Azure Blue | color24 |
Black | color14 |
Blue | color3 |
Blue Gray | color12 |
Blue Violet | color30 |
Brown | color16 |
Burnt Sienna | color41 |
Cerulean Blue | color25 |
Chestnut | color42 |
Cobalt Blue | color28 |
Copper | color5 |
Cyan | color10 |
Forest Green | color22 |
Gold | color15 |
Gray | color8 |
Green | color2 |
Lavender | color33 |
Light Gray | color11 |
Light Green | color9 |
Lime | color13 |
Magenta | color38 |
Mahogany | color40 |
Maroon | color19 |
Medium Blue | color27 |
Medium Rose | color32 |
Medium Violet | color31 |
Midnight Blue | color26 |
Olive | color17 |
Orange | color6 |
Orchid | color34 |
Peach | color36 |
Purple | color7 |
Red | color1 |
Red Violet | color39 |
Red-Orange | color20 |
Salmon | color37 |
Thistle | color35 |
Turquoise Blue | color23 |
Violet Blue | color29 |
Yellow | color4 |
Yellow-Orange | color21 |
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!