Beginner 7 min read

Color Scale Conditional Formatting in Google Sheets

Learn how to apply color scale conditional formatting in Google Sheets. Create heat maps and gradient formats to spot high and low values at a glance.

SB

Sheets Bootcamp

February 20, 2026 · Updated June 1, 2026

Color scale conditional formatting in Google Sheets applies a gradient of colors across a range based on each cell’s value. Low values get one color, high values get another, and everything in between blends proportionally. The result is a visual heat map that makes patterns, outliers, and trends visible without reading a single number.

In This Guide

How Color Scale Works

Standard conditional formatting applies a single fill color when a condition is true. Color scale works differently. It maps every numeric value in the range to a position on a gradient. The lowest value gets the min color, the highest gets the max color, and every value in between gets a proportional blend.

Google Sheets calculates the position using this logic:

Value PositionColor Applied
At or below minimumMin color (e.g., green)
At midpoint (if set)Midpoint color (e.g., yellow)
At or above maximumMax color (e.g., red)
Between min and maxBlended shade

Cells with text, blanks, or errors are skipped. Only numeric values participate in the gradient.

Note

Color scale evaluates the entire range as one group. The min and max colors are assigned to the actual lowest and highest values, not to fixed numbers. If you add a new value that’s higher than the previous max, the entire gradient recalculates.

Step-by-Step: Apply a Color Scale

We’ll use the monthly sales summary to color-code performance across product categories.

Step 1: Select the Range and Open Conditional Formatting

Highlight the numeric cells you want to format. For the monthly summary, select B2:E13 (the sales values, not the headers or the Month column).

Go to Format > Conditional formatting.

Monthly sales data selected in Google Sheets before applying color scale

Step 2: Switch to the Color Scale Tab

At the top of the Conditional format rules panel, you see two tabs: Single color and Color scale. Click Color scale.

The panel switches to show min, midpoint, and max color options instead of the standard condition rules.

Conditional format rules panel showing the Color scale tab selected

Step 3: Choose a Color Scheme and Click Done

Pick a preset gradient from the Preview dropdown, or set custom colors:

  • Minpoint: green (low values)
  • Midpoint: yellow (middle values)
  • Maxpoint: red (high values)

Click Done. The gradient applies across the entire range. Lower sales figures shade green, middle values turn yellow, and top performers glow red.

Color scale applied to monthly sales data showing green-yellow-red gradient

Tip

To reverse the direction (red for low, green for high), swap the min and max colors. This is useful when low values are bad (like declining sales) and high values are good.

Two-Color vs Three-Color Scales

Google Sheets supports two gradient types:

Two-Color Scale

Uses a min color and a max color with a smooth blend between them. Best for simple high/low comparisons.

SettingExample
MinWhite
MaxDark blue

The result: light cells have low values, dark cells have high values. Two-color scales work well when you only need to answer “how much?” without distinguishing a middle range.

Three-Color Scale

Adds a midpoint color between min and max. This creates two distinct gradients: min-to-mid and mid-to-max.

SettingExample
MinGreen
MidpointYellow
MaxRed

Three-color scales reveal more nuance. Green-yellow-red is a classic “traffic light” pattern where green means good, yellow means watch, and red means act.

Important

The midpoint defaults to the 50th percentile. If your data is skewed (a few very high values pulling the average up), most cells may appear the same color. Adjust the midpoint to a fixed number or a different percentile to spread the gradient more evenly.

Custom Min, Max, and Midpoint Values

By default, Google Sheets sets the min and max to the actual lowest and highest values in your range. You can override this with fixed values for more control.

Setting Custom Boundaries

In the Color scale tab, each point (min, midpoint, max) has a type dropdown:

TypeBehavior
Min value / Max valueUses the actual min or max from the range
NumberUses a fixed number you enter
PercentUses a percentage of the range (0-100)
PercentileUses a statistical percentile of the values

When to Use Custom Values

Fixed benchmarks: If $10,000 is your monthly target, set the midpoint to 10000. Everything below gets the low color, everything above gets the high color, regardless of the actual data range.

Consistent scales across sheets: If you compare two departments, set both color scales to the same fixed min and max. Otherwise each range gets its own gradient, and the same shade of green could mean $5,000 in one sheet and $50,000 in another.

Outlier handling: One extreme value can compress the rest of the gradient into a narrow band. Set the max to a reasonable ceiling (like the 95th percentile) to spread colors more evenly across the typical range.

Build a Heat Map Across Rows and Columns

A heat map applies color scale to a grid of numbers so you can spot patterns in both directions. The monthly sales summary is a natural fit: months run down the rows, product categories run across the columns.

Apply the Color Scale to the Full Grid

Select B2:D13 (all product categories, all months). Apply a single color scale rule. Google Sheets evaluates every cell in the range together, so the gradient spans the full grid.

Heat map showing monthly sales by category with color scale gradient

Now you can see two things at once:

  • Across columns: which category sells more in each month
  • Down rows: how each category trends over time

The darkest cells jump out immediately. No scanning row by row.

Tip

For a cleaner heat map, consider hiding the numbers and showing only the colors. Select the range, go to Format > Number > Custom number format, and enter ;;; (three semicolons). This makes the values invisible while keeping the color scale intact. You can still see the actual number in the formula bar when you select a cell.

Compare by Row vs by Grid

One color scale across the entire grid compares all values against each other. If product categories have very different scales (Optics averaging $16,000 vs Laboratory averaging $10,000), the Laboratory column may look uniformly light.

To compare each row or column against itself, apply separate color scale rules:

  1. Select one column (B2:B13)
  2. Apply a color scale
  3. Repeat for each column

Now each column’s gradient runs from its own min to its own max. This answers “which month was best for this category?” rather than “which cell is the highest overall.”

Tips

  1. Start with presets, then customize. The built-in green-yellow-red and white-to-blue gradients work for most use cases. Only set custom values when the default gradient doesn’t tell the story you need.

  2. Match the color direction to the meaning. Green-to-red implies good-to-bad. If higher values are better (revenue, scores), use green for max. If higher values are worse (expenses, errors), use red for max.

  3. Combine color scale with charts. Color scale shows patterns in raw data. A line chart or bar chart built from the same data tells the story in a presentation. Use both.

  4. Color scale rules stack. You can have a color scale rule and a single-color rule on the same range. The single-color rule takes priority for cells that match its condition. Use this to flag specific thresholds (like cells below zero) while keeping the gradient for everything else.

Frequently Asked Questions

How do I add a color scale in Google Sheets?

Select the range, go to Format > Conditional formatting, and switch to the Color scale tab. Choose a color scheme from the presets or set custom min and max colors. Click Done. The gradient applies automatically based on each cell’s value.

What is the difference between color scale and single color conditional formatting?

Single color formatting applies one fill color to cells that meet a condition (like greater than 100). Color scale applies a gradient across all cells based on their values. Low values get one color, high values get another, and everything in between blends proportionally.

Can I use a color scale on text values in Google Sheets?

No. Color scale only works on numeric values. Cells containing text, blanks, or errors are skipped and get no color. If your numbers are stored as text, convert them first using the VALUE function or Format > Number.

How do I create a heat map in Google Sheets?

A heat map is a color scale applied to a grid of numbers. Select the entire data range (not the headers), apply a color scale rule with green for low and red for high (or any gradient), and the cells shade automatically. This works well for comparing values across rows and columns.

Can I set custom midpoint values for a color scale?

Yes. In the Color scale tab, set the midpoint type to Number, Percent, or Percentile and enter a value. The gradient transitions from min color to midpoint color to max color. This gives you a three-color scale for more precise shading.

Frequently Asked Questions

Next Steps

Continue learning with these related tutorials: