In Excel for Microsoft 365 on Windows, select the cell or range, then press Alt, H, H in sequence to open the Fill Color palette. Use the arrow keys to choose a color and press Enter. The sequence opens the color menu; it does not apply a particular color until you select one.
What the Fill Color shortcut does
Fill Color changes the background color of selected cells. It can make a heading stand out, mark input cells, or help readers scan a worksheet. The shortcut uses Excel’s ribbon KeyTips: pressing Alt displays letters or letter combinations for ribbon commands, and the two H presses navigate to the Home tab’s Fill Color control.
To color one cell, select it first. To color a block, select the range before using the shortcut. You can also select separate cells or ranges by holding Ctrl while clicking them, then apply one fill to all selected areas. The same sequence opens the palette regardless of whether one cell or many cells are selected.
After the palette opens, arrow-key navigation lets you move through its available choices. Press Enter to apply the highlighted color. If you prefer the mouse, click a color in the palette. The ribbon button’s paint-bucket icon shows the current fill color; clicking the main part of the button applies that color again, while its drop-down arrow opens the palette.
Using the shortcut step by step
- Select the target cell, range, or nonadjacent selections.
- Press and release Alt. Excel displays KeyTips on the ribbon.
- Press H to activate the Home tab, then press H again to open the Fill Color menu.
- Use the arrow keys to highlight a color and press Enter.
The keys are pressed one after another, not all at once. If you hold Alt and press H twice as a simultaneous chord, Excel may not interpret it as intended. If the palette does not appear, click in the worksheet to make sure Excel is active, press Esc to dismiss any open menu, and try the sequence again.
The palette includes theme colors, standard colors, and, depending on the interface and recent choices, additional options such as More Colors. Theme colors are connected to the workbook’s theme, so choosing a theme color can help keep formatting consistent if the workbook’s theme colors are changed later. A custom color is useful when you need a specific shade that is not in the visible palette.
Choosing and reusing a color
For a quick highlight, select a color that contrasts clearly with the cell’s text. A pale fill often works well behind black text; a dark fill may require a lighter font color. Fill Color changes the background only. It does not automatically change the font, number format, borders, or the value in the cell, so check that the text remains readable after applying a strong color.
Once you select a fill, Excel generally keeps that choice as the current color shown on the ribbon’s paint-bucket button. For another cell or range, select the target and click the main part of the Fill Color button to reuse it without opening the palette. To choose a different shade, open the drop-down again. This is often faster than repeating the keyboard sequence for every cell.
For example, you might select B2:D2, choose a light blue fill for a table heading, then select B3:D3 and click the main Fill Color button to apply that same blue. The fill is formatting, not data: sorting or calculating values does not treat the color as a number or category unless you use a separate process to work with cell formatting.
Removing a fill without deleting cell contents
To remove a background color while preserving the cell’s value and other formatting, select the cells, open the Fill Color palette, and choose No Fill. This is different from pressing Delete, which removes cell contents, and different from Home > Clear > Clear Formats, which removes a broader set of formatting such as font styling and borders as well as fill.
If a cell appears colored even after you choose No Fill, check whether conditional formatting is responsible. A conditional-formatting rule can display a fill based on the cell’s value or another condition, and that displayed color is controlled by the rule rather than ordinary manual fill. Review the rules at Home > Conditional Formatting > Manage Rules and adjust or remove the relevant rule if appropriate.
Windows, Mac, and Excel for the web
The Alt, H, H sequence is intended for Excel desktop on Windows with the English ribbon interface. KeyTips and the letters assigned to ribbon commands can differ in localized versions, and ribbon layouts can change in some configurations. If the letters do not match what appears on screen, follow the displayed KeyTips or use Home > Fill Color with the mouse.
On Mac, the Windows Alt-based KeyTip sequence is not the equivalent universal shortcut. Use the Fill Color control on the Home tab, or the corresponding ribbon control in your Excel for Mac layout. Excel for Mac keyboard commands and ribbon navigation differ from Windows, and a single built-in keyboard sequence for selecting an arbitrary fill color is not consistent with the Windows steps described above.
Excel for the web also presents a ribbon Fill Color control, but keyboard access can depend on the browser and its handling of access keys. The dependable method is to select the cells, open the Fill Color menu on the Home tab, and choose a color. If you use a keyboard, follow the access-key prompts shown in your browser and Excel rather than assuming every Windows desktop sequence behaves identically online.
Fill Color compared with other formatting tools
Fill Color is the right choice when you want to set a cell background directly and keep that color until you change it. It is not the only way to color cells, and the alternatives have different purposes:
- Conditional Formatting: applies formatting when rules are met, such as highlighting values below zero. The displayed fill can change as the underlying values change.
- Format Painter: copies existing formatting, including fill and potentially fonts, borders, and number formats. On the Home tab, choose Home > Clipboard > Format Painter, then apply the copied formatting to another target. Double-click Format Painter to apply formatting to multiple targets, and press Esc when finished.
- Cell styles: apply a coordinated set of formatting choices rather than only a background color. Find them on the Home tab in the Styles group.
- Table styles: provide consistent formatting for an Excel table, including banded rows and header styling. They are useful when you want formatting to extend as table data grows.
These approaches should not be confused with one another. A manually applied fill is static; conditional formatting is rule-driven; and Format Painter copies a package of formatting from one place to another. If a color needs to respond to changing data, use a conditional-formatting rule instead of repeatedly recoloring cells by hand.
Common problems and practical fixes
If Alt, H, H seems to do nothing, check whether a dialog box, cell-editing cursor, or another menu currently has focus. Press Esc once or twice, click a cell, and try again. In some desktop setups, a function key or keyboard configuration may affect ribbon navigation, but the KeyTips shown on screen provide the most useful clue: press Alt and follow the visible letters.
If the color changes the wrong cells, undo immediately with Ctrl+Z, select the intended cells, and apply the fill again. Excel applies the color to the current selection, which may include more cells than are visible if a range was previously selected. Check the Name Box to the left of the formula bar if you are unsure which range is active.
If you cannot find a desired shade, open More Colors from the palette when that option is available. A custom color can be specified through the color chooser rather than approximated by repeatedly clicking nearby theme shades. For shared workbooks, consider using theme colors or a consistent set of custom colors so that headings and input areas do not end up with subtly different shades.
If a cell’s color returns after you remove it, a conditional-formatting rule may be applying it again. If only some cells in a selected range change, inspect whether the cells are protected or whether another formatting rule is involved. In a protected worksheet, permissions may restrict formatting; the workbook owner may need to allow formatting cells or remove sheet protection before you can change fills.
Readability and accessible color use
Color can make a worksheet easier to scan, but it should not be the only way important information is communicated. For example, if red fill means “late,” add a status word, symbol, or clearly labeled column as well. That helps readers who cannot distinguish the colors and makes the sheet more useful when printed in grayscale.
Check contrast between the fill and the text, especially for small numbers and dense tables. A saturated background can make standard black text difficult to read, while a very pale color may be hard to see on some displays. Use color consistently—for instance, one fill for user-entry cells and another for calculated results—and explain the meaning in a legend when it is not obvious.
Frequently Asked Questions
What is the keyboard shortcut for fill color in Excel?
In English-language Excel for Microsoft 365 on Windows, press Alt, then H, then H. Choose a color with the arrow keys and press Enter. It opens the palette rather than applying a specific color automatically.
Can I apply the current fill color without opening the palette?
Yes. Select the target cells and click the main part of the Fill Color button on the Home tab. It applies the color currently shown on the button. Use the drop-down arrow when you want to choose another color.
How do I remove cell fill but keep the text?
Select the cells, open the Fill Color palette, and choose No Fill. Do not use Delete if you want to preserve the cell contents. If the color remains visible, check for conditional formatting.
Is there an Alt, H, H shortcut on Mac?
That is the Windows ribbon KeyTip sequence, not a universal Excel for Mac shortcut. On Mac, use the Fill Color control on the Home tab; the available keyboard navigation differs by platform and layout.
Why does a cell change color automatically?
A conditional-formatting rule may be setting the fill based on the cell’s contents or another condition. Check Home > Conditional Formatting > Manage Rules to review which rules apply to the selection.
Related
- How to See Named Ranges in Excel and Check Their Cells
- Absolute Cell Reference Excel Shortcut: F4 Explained
- Excel Regression Analysis Output: What Each Statistic Means
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Add a Checkbox in Excel: The Fastest Keyboard ShortcutTo add a checkbox quickly in Excel for Microsoft 365 on Windows, select the cell or range, then…
- Excel Accounting vs Currency: Key Differences ExplainedIn Excel, Accounting and Currency are number formats for displaying monetary values, not different kinds of data: Accounting…
- Combine Cells in Excel on a New Line with CHAR(10)To combine values from A2 and B2 in one cell with a line break between them, enter =A2&CHAR(10)&B2…
- Copy Excel to Word Without Losing FormattingTo copy Excel cells into Word without losing their appearance, select the range in Excel, press Ctrl+C, then…
- How to Hide Columns in Excel on iPad Without Deleting DataTo hide a column in Excel on iPad, tap its letter at the top of the worksheet to…
- Lock Cell References in Excel With Dollar Signs EasilyTo lock a cell reference in an Excel formula, add a dollar sign before the column letter, the…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.