# Customizing Dashboard Widget Colors

Review the following options to customize widget colors:

* [Changing Widget Colors](/products/customer-data-platform/treasure-insights/customizing-dashboard-widget-colors#select-a-single-color)
* [Defining Conditional Colors](/products/customer-data-platform/treasure-insights/customizing-dashboard-widget-colors#defining-conditional-colors)


Treasure Data supports the following options to customize widget colors:

* **Single Color.** Specific color for all values.
* **Range.** A range of colors.
* **Conditional.** Colors based on conditional data.


## Select a Single Color

1. Open a dashboard or [create a new one](/products/customer-data-platform/treasure-insights/creating-a-new-dashboard).
2. Identify a widget and select the pencil icon to edit it.
3. In the left panel, select a color value.
![](/assets/image2021-1-5_10-45-42.063f8aa0ec654e489666d63c541e5117994d820038af48ba340627337de13982.b979d678.png)
4. Select **Single Color**.
5. Select a different color or enter an HTML color code.
6. Click **OK**.


## Select a Color Range

Treasure Insights supports color ranges for column and bar charts only.

1. Open a dashboard or [create a new one](/products/customer-data-platform/treasure-insights/creating-a-new-dashboard).
2. Identify a widget and select the pencil icon to edit it.
3. In the left panel, select a color value.
![](/assets/image2021-1-5_12-38-16.aaeaae0ed1f9ffa5d9420e60339d48e9adff9dfa96ae64e1290be28a92bd3715.b979d678.png)
4. Select **Range** and then select **Manual**.
5. Configure the color range:


* **Change minimum and maximum colors**. Select the left or right colored rectangles and choose a different color. Select **OK**.
* **Customize a color range:**
  * Set a minimum color value. All values below the set minimum are assigned to the color on the left.
  * Set a maximum color value. All values above the set maximum are assigned to the color on the right.
* **Define a color range with steps**. Select **Transition** and then specify the number of steps to define the number of colors in the range. Select **Gradient** for a linear color range.


# Defining Conditional Colors

Treasure Insights supports the ability to use a logical expression to define colors based on the value of a field.

1. Open a dashboard or create a new one.
2. Identify a widget and select the pencil icon to edit it.
3. In the left panel, select a color value.
![](/assets/image2021-1-5_16-16-22.6834970d786c07e02ef36ee729ac441a00f931cd1c451249cd62cc2583f62ba1.b979d678.png)
4. Select Conditional.
Each row represents a condition to which you can apply a value. If the condition is true, the value display in the color you select for the row. For example, you might want to create a condition that displays red when a negative condition is met, or green if the value is positive.
5. Define an expression for each row:
  * Select an operator and specify a value. For example, ...
  * Select a color for the field.
  * (Optional) Select **+ Add condition** to add additional condition row.
6. Select **OK**.