Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Colour in Excel: Fill, Font & Conditional

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To colour in Excel, select the cells you want to change, then use Home > Fill Color (the paint bucket icon) for a background colour or Home > Font Color (the letter A with a colour bar) for the text itself. Both buttons sit in the Font group on the Home tab, and both open a palette of theme colours, standard colours and a More Colors option for exact shades. That is the whole basic method; the rest of this guide covers doing it cleanly, applying colour automatically with conditional formatting, and fixing the things that usually go wrong.

What You'll Need

  • Excel for Windows, Excel for Mac, Excel on the web, or the Excel mobile app. The steps below are written for desktop Excel; mobile differences are noted where they matter.
  • A workbook with at least one sheet and some data or cells to work with.
  • No add-ins or extra software. Colouring is a built-in formatting feature.

Step-by-Step

  1. Select the cells. Click a single cell, drag across a range, or hold Ctrl (Cmd on Mac) and click to select several non-adjacent cells. To colour an entire row or column, click the row number or column letter. To colour the whole sheet, click the small square at the top-left corner where the row and column headers meet.
  2. Apply a background colour. On the Home tab, in the Font group, click the arrow next to Fill Color (the paint bucket). Pick a colour from the palette. The button itself shows the last colour you used, so clicking the bucket without opening the arrow reapplies it.
  3. Apply a font colour. Click the arrow next to Font Color (the A with a coloured underline) and choose a shade. Use this when the fill is dark and you need light text, or the other way round, to keep contrast readable.
  4. Use a preset style if you want a coordinated look. On the Home tab, open Cell Styles and choose from the built-in options such as Good, Bad, Neutral, Heading or Total. These apply fill, font colour and borders together, which is faster and more consistent than picking colours by hand.
  5. Copy the formatting to other cells. Select a cell that already looks the way you want, click Format Painter on the Home tab (it looks like a paintbrush), then click or drag over the target cells. Double-click Format Painter to keep it active for several separate selections; press Esc when finished.
  6. Set an exact colour. In the colour palette, choose More Colors. The Custom tab lets you enter RGB values or a hex code if you need a brand colour or a precise shade. The hex field is the quickest route when someone gives you a code.
  7. Colour automatically with conditional formatting. Select the range, then go to Home > Conditional Formatting. Choose Highlight Cells Rules for simple tests (greater than, less than, text containing, duplicate values) or New Rule for formulas and more control. Pick the format (fill, font, border) in the dialog and confirm. The colour then changes by itself as the data changes.
  8. Remove colour when you no longer need it. Select the cells, open the Fill Color palette and choose No Fill. For font colour, choose Automatic. To strip conditional formatting, use Conditional Formatting > Clear Rules for the selected cells or the whole sheet.

Menu labels can differ slightly between Excel versions, between Windows and Mac, and between the desktop app and Excel on the web. If you cannot find a button, look in the same general area of the Home tab; the Font group is present in every current version. On the Excel mobile app, colouring is under the formatting menu (the A with a paintbrush or the cell-format icon), and the range of options is smaller than on desktop.

Common Mistakes

  • Colouring the text instead of the cell. The two buttons sit next to each other. If the background stayed white, you probably used Font Color; if the text vanished, you used a font colour that matches the fill.
  • Selecting only one cell when you meant the whole table. Excel applies formatting only to the current selection. Drag over the full range, or click the corner square for the whole sheet.
  • Using colour as the only signal. A red cell means nothing to someone who cannot distinguish red from green, and it disappears in black-and-white printing. Pair colour with bold text, an icon, or a word such as Overdue.
  • Hard-coding colours where conditional formatting belongs. Manual fills do not update when values change. If the colour is meant to flag a condition, use Conditional Formatting instead.
  • Forgetting that formatting is not data. Sorting and filtering work on values, not on the colours you applied by hand. Filtering by colour is possible from the filter menu, but it is fragile; a helper column with a formula is more reliable.
  • Over-colouring. Too many fills make a sheet harder to read, not easier. Reserve strong colours for exceptions and keep the body of the table neutral.

Tips

  • Use theme colours (the top row of the palette) rather than standard colours. Theme colours adapt if you change the workbook theme, so the sheet stays coherent.
  • Keep a legend on the sheet if colour carries meaning, for example a small key showing that amber means pending and red means overdue.
  • Check contrast: dark text on a light fill, or white text on a dark fill. Mid-tone fills with mid-tone text are the usual culprit when a printed sheet is unreadable.
  • Format Painter is the fastest way to make a new block match an existing one. Copy from a finished cell rather than rebuilding the colours.
  • For banded rows that stay readable, use Format as Table on the Home tab and pick a table style. The banding adjusts automatically as rows are added.
  • If you colour cells and then paste data over them, use Paste Special > Formats or Paste Special > Values depending on what you want to keep. A normal paste can overwrite your fills.

Troubleshooting

  • The colour will not apply. Check that the sheet is not protected. Go to Review > Unprotect Sheet; if a password is required, you need it from whoever set it. Also confirm you are not editing inside a cell (press Esc first).
  • Conditional formatting is not changing. Open Conditional Formatting > Manage Rules and check the rule's range and order. Rules higher in the list take priority, and a Stop If True setting can block the rest. Confirm the cell values are the type the rule expects (text versus number).
  • The colour looks different on another computer or in print. Monitors and printers render colours differently, and theme colours shift with the workbook theme. For print, check the preview and consider lighter fills.
  • You cannot find No Fill. It is at the top of the Fill Color palette, above the theme colours. If the palette looks different, you may be in Excel on the web, where the option is in the same place but the palette is narrower.
  • Formatting disappeared after a paste. Undo with Ctrl+Z (Cmd+Z on Mac) and repaste using Paste Special, choosing the option that preserves formats.

Frequently Asked Questions

Can I colour a cell based on its value automatically?

Yes. Select the range and use Home > Conditional Formatting, then choose Highlight Cells Rules or New Rule. The fill updates whenever the value changes.

How do I remove all colours from a sheet at once?

Select the whole sheet with the corner square, open Fill Color and choose No Fill, then set Font Color to Automatic. Clear conditional formatting separately with Conditional Formatting > Clear Rules > Entire Sheet.

Why does my text disappear when I add a fill?

The font colour probably matches the fill. Select the cells and set Font Color to Automatic, or pick a contrasting colour.

Can I use a hex code for an exact colour?

Yes. Open the Fill Color palette, choose More Colors, then the Custom tab, and enter the hex value or RGB numbers.

Does colouring work the same in Excel on the web and mobile?

The feature exists everywhere, but the palette and menu layout are smaller on the web and mobile versions. Desktop Excel gives the most control, including custom colours and full conditional formatting options.