CPU Temperature Heatmap Colors for Server Dashboards

A temperature heatmap is one of the fastest ways to read the health of a server fleet. Each cell is a CPU, each color is a temperature, and a hot spot stands out before anyone reads a number. That only works if the colors mean the same thing everywhere. When two panels color the same reading differently, the heatmap stops being a shortcut and starts being a trap.

This guide gives you a copyable palette with HEX codes, a fixed °C legend, and a separate style for missing readings, so every dashboard your team builds tells the same story.

Why Every Dashboard Needs the Same Scale

With automatic scaling, a charting tool looks at the lowest and highest value in the current view and stretches the gradient between them. That is fine for exploring one chart, but it breaks comparison.

Picture two panels side by side. The first shows a quiet rack where the hottest CPU sits at 68 °C, so 68 °C is drawn in the darkest red. The second shows a busy rack that peaks at 91 °C, so the same 68 °C lands in a mild yellow. A reader scanning both panels will assume the first rack is in trouble and the second one is fine, even though the second rack has the higher peak.

The fix is a fixed scale. A 68 °C reading from one server should appear in the same color as a 68 °C reading from the server beside it, in every panel and on every page. Use a shared legend so readers can compare the two panels at a glance, and switch off any "auto range" setting in your charting tool.

Two illustrative CPU heatmaps with a matching amber tile in both grids.

The Palette: Seven Bands With HEX Codes

This palette adapts the nine-class RdYlBu scheme from ColorBrewer. Removing its two palest middle colors leaves seven bands from blue through yellow to red. Keep the numeric labels visible so readers can distinguish bands without relying on hue.

BandHEXLabel textWhat it tells the reader
Below 40 °C#4575B4White (#FFFFFF)Coolest band
40 to <50 °C#74ADD1Dark (#1F2937)Cool band
50 to <60 °C#ABD9E9Dark (#1F2937)Moderate temperature
60 to <70 °C#FEE090Dark (#1F2937)Warmer band
70 to <80 °C#FDAE61Dark (#1F2937)Elevated temperature
80 to <90 °C#F46D43Dark (#1F2937)Review against the CPU limit
90 °C and above#D73027White (#FFFFFF)Highest band

White text has a contrast ratio of 4.71:1 on #4575B4 and 4.84:1 on #D73027. Dark text ranges from 4.97:1 to 11.38:1 across the five middle bands.

Treat the band edges as a starting point. Check the vendor’s rated limit for the processor and the sensor metric you display. Keep the color scale fixed across panels that readers compare and show any hardware-specific alert threshold separately.

Here is the same palette as CSS custom properties, ready to paste into a stylesheet or a design token file:

:root {
  --temp-below-40: #4575B4;
  --temp-40-49: #74ADD1;
  --temp-50-59: #ABD9E9;
  --temp-60-69: #FEE090;
  --temp-70-79: #FDAE61;
  --temp-80-89: #F46D43;
  --temp-90-plus: #D73027;
  --temp-missing: #BDBDBD;
}

Building a Fixed °C Legend

A legend only helps if it never moves. Build it once and reuse the same component on every dashboard.

Example fixed legend (°C)
<4040–<5050–<6060–<7070–<8080–<90≥90n/a
  • Use stepped bands, not a smooth gradient. Seven solid blocks make it easy to say "that cell is in the 70s" without guessing between two shades.
  • Print the boundaries under each block in °C, and show the unit once at the end of the legend.
  • Keep the order fixed, coolest on the left and hottest on the right, in every panel.
  • Place the legend in the same spot on every page, usually top right or directly under the heatmap.
  • Add the missing reading swatch at the end of the legend, separated by a small gap so it does not read as an eighth temperature.

If your tool supports thresholds, enter the band edges as absolute values. Percentage thresholds recalculate per panel and bring back the problem the fixed scale was meant to solve.

Missing and Stale Readings

A sensor that stops reporting is a different event from a cool CPU, and the heatmap must show the difference. The most common mistake is letting a missing value fall through to the coldest color, which paints a broken sensor as a healthy, idle machine.

Give missing data its own style that sits outside the temperature scale:

  • Missing reading. Fill the cell with neutral gray #BDBDBD, add a thin diagonal hatch, and print "n/a" in #1F2937. Gray carries no temperature meaning, and the hatch keeps the cell recognizable in grayscale prints.
  • Stale reading. If the last value is older than your collection interval, keep the band color but drop the fill to about 50 percent opacity and add a dashed border. The reader sees the last known temperature and knows it may be out of date.
  • Zero. Never draw 0 °C for a missing value. A real zero is almost impossible in a data center, so it only confuses people.
A gray diagonally hatched cell among colored CPU heatmap cells.

Light Mode, Dark Mode and a Final Checklist

The seven band colors work on both themes, but the surroundings need adjusting. On a white page, the pale middle bands (#ABD9E9 and #FEE090) have very low contrast against the background, so give every cell a 1 px border in #D1D5DB or a 2 px gap. On a dark page such as #111827, the pale bands stand out well, while the darkest blue and red need the gap more than a border. Switch the missing reading fill to #4B5563 with white "n/a" text in dark mode.

Color should never be the only signal. The W3C guidance on use of color asks that information shown with color is also available in another form, and a heatmap is no exception. Print the temperature in each cell when there is room, and make the exact value available to keyboard and touch users as well.

Before you publish a dashboard, run through this list:

CheckWhy it matters
Auto range is off and the scale is fixed in °CThe same reading gets the same color in every panel
One shared legend component is used everywhereReaders learn the scale once
Missing data has a separate gray hatched styleA broken sensor never looks like an idle CPU
Values appear in cells or tooltipsColor is not the only signal
Cells have a border on light pagesPale bands stay visible against white
Top bands match the vendor&#x27;s rated limitThe highest bands reflect the hardware limits

A heatmap earns trust when the colors stay consistent. Fix the scale, keep the legend identical across dashboards, and give missing data a style of its own. After that, anyone on the team can glance at two panels and compare them correctly.

Heatmap Colors title above seven swatches running from blue to red.