Tag Color to API Color Value Mapping

Reply
L0 Member

Tag Color to API Color Value Mapping

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 ColorAPI Value
Azure Bluecolor24
Blackcolor14
Bluecolor3
Blue Graycolor12
Blue Violetcolor30
Browncolor16
Burnt Siennacolor41
Cerulean Bluecolor25
Chestnutcolor42
Cobalt Bluecolor28
Coppercolor5
Cyancolor10
Forest Greencolor22
Goldcolor15
Graycolor8
Greencolor2
Lavendercolor33
Light Graycolor11
Light Greencolor9
Limecolor13
Magentacolor38
Mahoganycolor40
Marooncolor19
Medium Bluecolor27
Medium Rosecolor32
Medium Violetcolor31
Midnight Bluecolor26
Olivecolor17
Orangecolor6
Orchidcolor34
Peachcolor36
Purplecolor7
Redcolor1
Red Violetcolor39
Red-Orangecolor20
Salmoncolor37
Thistlecolor35
Turquoise Bluecolor23
Violet Bluecolor29
Yellowcolor4
Yellow-Orangecolor21
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!