Skip to main content
echia
Staff
Staff
May 4, 2016

Technical Tip: Enabling Object Colors for the Web GUI

  • May 4, 2016
  • 0 replies
  • 3549 views

Description

 

This article describes that Objects such as Virtual IPs, Addresses, Services, and Schedules can be assigned colors for organizational purposes. If it is required to be able to change the color for objects via the Web GUI, this feature must first be enabled via the CLI.
 
Scope
 
FortiGate.


Solution

 

The object before enabling the feature:

echia_FD38659_tn_FD38659-1.jpg

CLI commands:
 
config vdom      <----- This must be run first if VDOMs are configured.
    edit <vdom.name>  <----- This must be run first if VDOMs are configured.
        config system setting
            set gui-object-colors enable
end

Object after enabling the feature:

echia_FD38659_tn_FD38659-2.jpg

 

To configure the address object through CLI, execute the below commands.

config firewall address
    edit "address name"

        set color 0-32

    next

end

 

To create an address group with color, Navigate to policy & objects, select address group, and select create new

 

color3.PNG

 

In the address group, there will have the option to configure with color:

 

color 4.PNG

 

To configure the address group through CLI, execute the below commands.

 

config firewall addrgrp
    edit "group name"

        set color 0-32

    next

end

 

The complete list of Colors is here below with their RGB codes:

  • 0,RGB #2D2D2D,black-100.
  • 1,RGB #2D2D2D,black-100.
  • 2,RGB #2196F3,blue-500.
  • 3,RGB #4CAF50,emerald-500.
  • 4,RGB #E57373,red-300.
  • 5,RGB #EF9A9A,red-200.
  • 6,RGB #FF5722,tomato-500.
  • 7,RGB #F4511E,tomato-600.
  • 8,RGB #F4511E,orange-800.
  • 9,RGB #F57F17,yellow-900.
  • 10,RGB #FFCA28,amber-400
  • 11,RGB #FFB300,amber-600.
  • 12,RGB #388E3C,emerald-700
  • 13,RGB #7CB342,green-600.
  • 14,RGB #81C784,emerald-300.
  • 15,RGB #43A047,emerald-600.
  • 16,RGB #689F38,green-700.
  • 17,RGB #039BE5,sky-600.
  • 18,RGB #03A9F4,sky-500.
  • 19,RGB #2196F3,blue-500.
  • 20,RGB #7986CB,indigo-300.
  • 21,RGB #B39DDB,violet-200.
  • 22,RGB #CE93D8,purple-200.
  • 23,RGB #F48FB1,pink-200.
  • 24,RGB #F06292,pink-300.
  • 25,RGB #FE615C,red-400.
  • 26,RGB #BDBDBD,gray-400.
  • 27,RGB #949494,gray-500.
  • 28,RGB #FFA726,orange-400.
  • 29,RGB #9E9D24,lime-800.
  • 30,RGB #9FA8DA,indigo-200.
  • 31,RGB #E1BEE7,purple-100.
  • 32,RGB #A1887F,brown-300.