---
schema_version: "1"
id: 5ec927fec5918df69fc1cc78f3d210e93dad05d66d2ab15c18c9870c3ab914d9
title: Color-Code the Gantt
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/pfs_create_gantt_palettes.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.pfs_create_gantt_palettes.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e23c7b37efee49910aaf6870f992c17b347a80fd8df341f39026308553640a52
description: Help dispatchers compare service appointments in the Field Service Classic Dispatch Console Gantt and map by creating custom color palettes based on a service appointment field. For example, create a palette that displays appointments in a custom color spectrum based on the proximity of the due date.
products:
  - Field Service
release: "264"
---
# Color-Code the Gantt

Help dispatchers compare service appointments in the Field Service Classic Dispatch Console Gantt and map by creating custom color palettes based on a service appointment field. For example, create a palette that displays appointments in a custom color spectrum based on the proximity of the due date.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">The Agentforce Field Service and Operations core features, managed package, and mobile app are available in <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d66995e72">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d66995e72 ">To create, edit, and delete Gantt palettes:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d66995e72 ">Gantt Palettes Edit custom permission</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d66995e72 ">To view the Palettes tab in the Gantt and apply a palette:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d66995e72 ">Gantt Palettes View custom permission</td>

          </tr>
        </tbody>
      </table>

![Package icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/support_field_service/images/fs_package.png) _This is a Field Service managed package feature._

You can base a palette on any service appointment field of the following types: checkbox, picklist, date, date-time, number, percent, or currency. Use the Due Date Approaching palette to color-code appointments based on how close they are to the due date. Create and manage palettes directly from the Gantt.

1. From the App Launcher, find and open the **Field Service** app. Click the **Field Service** tab to open the Classic Dispatch Console.
2. Click the filter icon at the top of the Gantt, and then click the **Palettes** tab.
3. Click the icon in the top-right corner to open the palette editor, and click **New Palette**.
4. Enter a name and description.
5. Select which service appointment field to base the palette on.
6. Define the color spectrum. We recommend creating a high-contrast spectrum. For picklist fields, assign a color to each picklist value. For checkbox fields, select two colors signifying checked and unchecked. For numeric or date-based fields, choose how many colors to use, a minimum and maximum color, a color if no value is specified, and a corresponding minimum and maximum value. The palette editor then creates a spectrum for you.
7. Select **Active** to make the palette available to dispatchers.
8. Save your palette.
9. Apply a palette from the Palettes tab in the Gantt filter.
    1. Select a palette in the dropdown list, and click **Apply Palette**. The list shows up to 10 active palettes in the org in alphabetical order. Applying a palette changes the background color of appointments on the Gantt and adds an appropriately colored horizontal bar above appointments on the map.
    2. After a palette is applied, you can click **Use Default Palette** to return to the default color scheme.

The default color scheme—used when no palette is applied—color-codes appointments by status. You can’t update the default color scheme or replace it with a custom palette. When you reload the Gantt or change which service appointments are shown in the appointment list, the last palette that you used is applied.

The Gantt Color field on service appointments and service crews overrides the default color scheme. If you don’t like the default color scheme, create a flow in Flow Builder that populates the Gantt Color field based on your preferred service appointment field.

Users with the Gantt Palettes View permission can see all palettes created in your org. To control palette access, set sharing on the Gantt Palette object to Private. Then, use sharing rules to share each palette with the appropriate users.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_field_service-264-0-0-production-enus/3f7dceb9-dd70-454a-b49e-bbb4526a158d/images/icon_note.png)

Note Create multiple palettes to address different scheduling questions. For example, use custom fields to create palettes that do the following:

- Highlight appointments for VIP customers
- Color-code appointments based on service cost
- Color-code appointments based on the priority level of their parent work order

#### See Also

- [Gantt Keyboard Shortcuts](https://help.salesforce.com/s/articleView?id=service.pfs_gantt_keyboard_shortcuts.htm&release=264.0.0&type=5 "Use keyboard shortcuts to work faster in the Field Service Classic Dispatch Console.")
- [Customize the Classic Dispatch Console with Field Sets](https://help.salesforce.com/s/articleView?id=service.pfs_fieldsets.htm&release=264.0.0&type=5 "Use field sets to control which fields appear in different sections of the Field Service Classic Dispatch Console. For example, choose which fields appear as columns in the appointment list.")