Fill Color in Excel Using Keyboard Shortcuts on Windows

How-to basics · Updated November 20, 2026

To fill cells with color in Excel for Microsoft 365 on Windows, select the cell or range, press Alt, H, H in sequence, use the arrow keys to choose a color, and press Enter. This opens the Home tab’s Fill Color palette, so you can apply a background color without reaching for the mouse.

What You’ll Need

  • Excel for Microsoft 365 on Windows, with a workbook open.
  • A selected cell or range to format. You can select it with the keyboard before choosing a color.
  • For the Windows shortcut, use the letters in sequence, not all at once. If you are using Excel for Mac or Excel for the web, see the platform notes below.

Step-by-Step

  1. Select the cells to color. Click a cell, or move to it with the arrow keys. To select a range from the active cell, hold Shift and use the arrow keys. For example, if the active cell is B2, press Shift+Right twice and Shift+Down three times to select B2:D5. You can also select a whole column with Ctrl+Space, or a whole row with Shift+Space. Check the selection outline before continuing so you do not color the wrong cells.
  2. Open the Fill Color menu. Press and release Alt, then press H, then press H. The first key activates Excel’s ribbon Key Tips, the next selects the Home tab, and the last opens the Fill Color palette. Do not hold all three keys together: this is a sequence of key presses. If the Key Tips show different letters on your screen, follow the letters Excel displays for the Fill Color control.
  3. Choose a color from the palette. With the palette open, use the arrow keys to move through its choices. The palette includes theme colors, lighter and darker variations, and standard colors. Watch the highlighted choice as you move; the labels or tooltips may also help identify a shade. Press Enter to apply the highlighted color to the selected cells. If you opened the menu accidentally, press Esc to close it without choosing a new color.
  4. Use the Fill Color button’s current color when that is what you want. The main Fill Color button applies the color shown on its icon; the small arrow beside it opens the palette. The keyboard sequence Alt, H, H opens the palette, which is useful when you need to choose or confirm a particular shade. If you want to repeat a color on another range, select the next range and use the palette to choose that shade again. This avoids assuming that the button’s current color matches your earlier choice.
  5. Select a precise color when the built-in choices are not enough. Open the palette with Alt, H, H and navigate to More Colors, then press Enter. Use the dialog’s controls to choose a color, and confirm with OK. The exact keyboard path within that dialog can vary with the dialog layout, so use Tab, Shift+Tab, and the arrow keys to move among its fields and buttons. A custom color is helpful for matching a house style or a specific chart color.
  6. Apply fill through Format Cells if you prefer a dialog. Select the cells and press Ctrl+1 to open Format Cells. Use Ctrl+Tab to move through the dialog’s tabs until you reach Fill, then use Tab and the arrow keys to navigate its controls. Choose a background color and confirm with Enter or move to OK and press Enter. This route also gives access to fill effects and patterns where available, though the palette is usually quicker for a simple solid color.
  7. Check the result and save your work. Confirm that the intended cells have the fill and that their values remain readable. If you colored a large range by mistake, press Ctrl+Z immediately to undo the formatting, then select the correct cells and repeat the steps. Save with Ctrl+S when the sheet looks right. Saving is especially useful before applying a color to an entire table or worksheet.

Excel for Mac: The Windows Alt, H, H sequence is not the standard Mac shortcut. On Mac, open the Home tab and use the Fill Color control on the ribbon; if you need to stay on the keyboard, use Excel’s ribbon navigation and follow the focus indicator to the Fill Color button and its menu. Keyboard navigation can depend on your macOS keyboard-access settings and Excel version, so do not assume the Windows Key Tips sequence will work. Excel for the web: Ribbon Key Tips and shortcut behavior can depend on the browser and keyboard. Use the Home tab’s Fill Color control, and follow any Key Tips shown by the web app rather than relying on Windows desktop behavior.

Common Mistakes

Confusing fill color with font color: Fill Color changes the background of a cell. Font Color changes the text. On the Home tab, look for the paint-bucket Fill Color icon, not the letter A with a colored underline. If the text changes color but the cell background does not, you chose Font Color.

Pressing the keys together: The ribbon sequence is Alt, then H, then H, with each key released before the next. Holding them together may trigger a different command or do nothing. Give Excel a moment to show Key Tips after pressing Alt, then continue.

Coloring only one cell or too many cells: The shortcut formats the current selection, not necessarily the whole table or row you have in mind. Confirm the selection outline first. To select a specific address by keyboard, press Ctrl+G, type a range such as B2:D5, and press Enter; then open the Fill Color palette.

Choosing a shade that is hard to read: A dark fill behind dark text, or a saturated fill behind small text, can reduce legibility. Check the result at normal zoom and consider changing the font color or selecting a lighter fill. Color alone should not be the only way you communicate an important status; add a label or symbol when readers need to distinguish categories.

Expecting a cell’s appearance to explain its color: A fill is formatting, not a value. It does not change the cell’s contents or tell Excel what the color means. Keep a legend or a clear text label if coworkers need to understand why cells are shaded.

Tips

  • Practice on a small selection first. Try the sequence on one cell, then use it on a larger range. This makes it easier to recognize the palette and avoids an unwanted fill across an entire column.
  • Use the same theme shade consistently. Theme colors are tied to the workbook’s theme and are easier to keep coordinated if the theme changes. Standard and custom colors can be useful, but keep a record of a custom color if you will need to match it later.
  • Move to the next range without reaching for the mouse. After applying a fill, use the arrow keys to move to another cell, or select a range with Shift plus the arrow keys. Then reopen the palette and choose the color. If the palette highlights a recently used shade, verify the highlighted choice before confirming.
  • Use a repeatable visual system. For example, use pale yellow for cells that need review and pale green for completed items, and include a small legend in the worksheet. Choose colors that remain readable when printed or viewed on a different display.
  • Remember that fill is different from conditional formatting. A manual fill stays until someone changes it. If a cell should change color automatically when its value changes, use Home > Conditional Formatting instead and create a rule. Applying a manual fill does not create a rule.
  • On Mac, use the version’s own shortcut guidance. Excel for Mac may show menu commands or keyboard guidance that differs from Windows. Check the app’s Help or keyboard-shortcut list if you want a dedicated shortcut, rather than trying random Alt-key combinations.

Troubleshooting

Nothing happens after Alt, H, H: Confirm that the Excel workbook is active and that you pressed the keys in sequence. If a cell is being edited, press Esc or Enter to finish editing first. Press Alt and check whether Key Tips appear. If another application or a remote desktop is intercepting the key, click the worksheet and try again. You can still use the ribbon directly: choose Home > Fill Color.

The palette opens, but the wrong color is applied: The highlighted item may not be the shade you expected, or you may have pressed Enter before moving to the right choice. Reopen the palette, use the arrow keys slowly, and confirm the selection before pressing Enter. If you only meant to open the menu, press Esc rather than Enter.

The color seems invisible: Check that the selected cells are not white or that the palette has not applied a shade close to the worksheet background. Select one cell and open the palette again to confirm its fill. Also check whether the worksheet is protected or whether a table style or conditional formatting rule is affecting the appearance. A conditional formatting rule can override a manual fill while its condition is true.

Only some cells change: Inspect the selected range and any merged cells. A selection that skips cells, or a range that does not include the full intended area, will produce a partial result. Select the exact range again with Ctrl+G and its cell address. If the sheet is protected, you may need permission to format cells before the fill can be changed.

The Mac keyboard navigation does not match these steps: These Key Tips are for Excel on Windows. On a Mac, use the Home ribbon’s Fill Color control or check Excel’s current keyboard guidance for your version and macOS settings. If using Excel for the web, confirm that focus is inside the workbook and use the controls shown in its ribbon; browser shortcuts may take precedence over Excel shortcuts.

Frequently Asked Questions

What is the keyboard shortcut to fill a cell with color in Excel?
In Excel for Microsoft 365 on Windows, press Alt, H, H in sequence to open the Fill Color palette. Choose a shade with the arrow keys and press Enter.

Can I apply fill color to a range with the keyboard?
Yes. Select the range with the arrow keys and Shift, or use Ctrl+G to enter a range address such as A2:C8. Then open Fill Color and choose the shade.

How do I remove a fill color using the keyboard?
Select the cells, open the Fill Color palette with Alt, H, H, and choose No Fill if it appears as a palette option. You can also use Ctrl+1, go to the Fill tab, select No Color, and confirm. If you just applied the fill, Ctrl+Z is the quickest way to undo it.

Does Alt, H, H work in Excel for Mac?
No. That is the Windows ribbon Key Tips sequence, not the standard Mac equivalent. Use the Fill Color control on the Mac Home ribbon or follow the keyboard-navigation guidance for your version.

Why does the cell keep changing color when its value changes?
A conditional formatting rule may be controlling its appearance. Review Home > Conditional Formatting > Manage Rules and check the rules that apply to the cell. A manual fill and conditional formatting are separate; changing the manual fill may not override a rule that is currently active.

Will filling a cell change its value?
No. Fill color changes only the cell’s appearance. The text, number, or formula in the cell remains the same.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.