To add color to a header row in Word, select the table’s entire first row, open the contextual Table Design tab, and choose a fill from Shading. This applies a background color to the selected cells, making the headings easier to distinguish from the table data. The steps below are for Word for Microsoft 365 on Windows; Mac users can use the same shading control, though ribbon labels and locations may vary slightly.
What You’ll Need
- A Word document containing a table. If you have not made one yet, use Insert > Table to create it.
- Permission to edit the document. In a protected or read-only file, you may need to save an editable copy first.
- A color choice that keeps the header text readable. A pale fill is usually easiest to read with dark text; a dark fill may need white or another light font color.
Step-by-Step
- Click inside the table. Open the document and click any cell in the table whose header row you want to color. The table-specific tabs should appear on the ribbon. In Word for Microsoft 365 on Windows, these are usually Table Design and Table Layout. If they do not appear, check that the cursor is actually inside a table rather than beside it.
- Select the whole header row. Click a cell in the row you want to format, then choose Table Layout > Select > Select Row. This selects every cell across that row, so the fill will cover the complete row rather than just the cell you clicked. If your ribbon shows the tab simply as Layout, use the table-specific Layout tab, not the general page Layout tab.
- Check the selection before applying color. Word usually highlights the selected row. Make sure it is the row containing your column labels, such as Name, Date, or Total, and not the first row of data. If only one cell is selected, repeat the row-selection command. You can also move the pointer just to the left of the row; when it becomes a right-pointing arrow, click to select that row.
- Open the shading color menu. With the row still selected, click Table Design. In the Table Styles group, find Shading, shown with a paint-bucket icon. Click the small arrow beside the button to display the color palette. If the ribbon is narrow, the control may be inside a collapsed group or overflow menu; widen the Word window or expand the group to find it.
- Choose a fill color. Select a theme color or a standard color. Word applies the fill to the selected row, and you can usually preview a color by hovering over palette choices before clicking. If the preview is not visible in your version, choose a color and use Undo if you do not like the result. Avoid selecting a font color or text highlight command: those change the letters or the area directly behind selected text, not the table cells’ background.
- Check text contrast and adjust it if needed. If the heading text is difficult to read, keep the row selected and use Home > Font Color to choose a contrasting text color. For example, use dark text on a light blue fill or white text on a dark blue fill. Check all labels, including any wrapped onto a second line, rather than judging the color from one cell alone.
- Click outside the table and review the result. This clears the selection and lets you see how the row looks in the document. Scroll through the table if it spans pages, and check that the color is on the intended row and extends across all its cells. Save the document with Ctrl+S on Windows or Command+S on Mac.
Mac note: In Word for Mac, click in the table and select the row, then use the contextual Table Design tab and its Shading menu. Depending on the ribbon layout, you may see the table tab named Layout or Table Layout; use its row-selection command, or select the row by clicking just to its left. The ribbon may place Shading in a different group, but it is the cell-fill paint-bucket control. If the ribbon is simplified, expand it or switch to the classic ribbon to reveal more commands.
Common Mistakes
- Coloring one cell by accident. Clicking a cell and choosing a fill may affect only that cell if the entire row was not selected. Use Select Row first, then apply shading. A complete selection is especially important when the table has many columns or narrow cells.
- Using text highlight instead of cell shading. The Text Highlight Color button on the Home tab colors behind selected characters. It does not fill the full table cell. Use Table Design > Shading for a cell or row background.
- Changing the table style instead of applying a specific fill. The Table Styles gallery can change several features at once, including borders, banding, and header appearance. If you want only a particular fill on one row, select that row and use Shading directly. A style may later override or make the fill look different.
- Expecting the Header Row option to choose a color. The Header Row checkbox in Table Design > Table Style Options tells a table style to treat the first row as a header. It does not, by itself, choose a custom fill color. Use it when you want the style’s header treatment, or apply Shading when you want to pick the color yourself.
- Choosing a fill that reduces readability. A bright or dark background can make black text hard to read. Judge the heading at normal document zoom and consider how it will appear when printed or shared. Color should clarify the table, not make labels harder to find.
Tips
- Use theme colors for consistency. Theme colors are designed to coordinate with the document’s other colors. If the document theme changes, theme-based fills may update with it; a standard color is a better choice when you need a specific fixed shade.
- Apply the same fill to several rows when appropriate. Select multiple adjacent rows by dragging across their row selectors or using the table selection controls, then choose Shading. For separate, non-adjacent rows, apply the fill to each row individually so you do not accidentally color intervening data.
- Keep the header labels clear and concise. A colored row stands out most when each heading is easy to scan. If text wraps awkwardly, widen the relevant column or shorten the label rather than relying on a stronger color to make it readable.
- Use repeat headers for tables that continue onto another page. Coloring the first row does not automatically make it repeat on later pages. To repeat it, select the header row and use Table Layout > Repeat Header Rows. This is useful for long tables, but it is separate from shading and may not work as expected if a manual page break is inserted inside the table.
- Check the printed or exported version. Colors can look different on screen, in a PDF, and on a printer. Use File > Print to preview the page, and consider whether the labels still stand out if the document is printed in grayscale.
Troubleshooting
The Table Design tab is missing: Click inside a table cell. The table tabs are contextual, so Word hides them when the insertion point is outside the table. If you are using Word in a browser, the ribbon may be more compact, but look for the table design controls after selecting a cell.
Only part of the row changes color: Undo with Ctrl+Z on Windows or Command+Z on Mac, select the row again using Table Layout > Select > Select Row, and reapply shading. If some cells remain different, select those cells and apply the same Shading color directly. A table style or cell-level formatting may be affecting the appearance.
The selected color does not appear, or a different color shows: Confirm you used the paint-bucket Shading command, not borders, text highlight, or font color. If a table style is active, try choosing another style or toggling its Header Row option under Table Design > Table Style Options, then reapply the fill. Also check whether the document has restricted editing or whether you are viewing a version that has not finished syncing.
The fill disappears after changing the table style: Some styles apply their own header formatting. Re-select the row and apply the desired Shading color after choosing the style. If you change styles again later, review the row because the new style may alter its appearance.
The header color does not repeat on the next page: Shading colors cells; it does not control whether a heading row repeats. Select the header row and use Table Layout > Repeat Header Rows. Check that the table flows naturally across pages; a manual page break inside the table can prevent the repeat setting from working.
Frequently Asked Questions
Can I color just one cell in the header row?
Yes. Click that cell without selecting the whole row, then choose Table Design > Shading and pick a color. If the entire row is selected, Word applies the fill to all selected cells instead.
Can I use a custom color instead of a preset?
Yes. Open the arrow beside Shading and look for More Colors. Depending on the Word version, you can choose a custom shade through a color picker or enter color values. The exact options can differ between Windows and Mac.
Does shading change the color of the text?
No. Shading changes the background of selected cells. To change the heading letters, select the text and use Home > Font Color. Adjust both separately if needed to maintain contrast.
Will the color appear when I save as a PDF?
Normally, yes. Use File > Save As or File > Export to create a PDF, then open or preview the PDF and confirm the fill displays as intended. Printer settings or document restrictions can affect output.
Is a colored first row automatically a repeating header?
No. The fill is visual formatting only. To repeat the row on pages after the first, select it and choose Table Layout > Repeat Header Rows.
Can I remove the color later?
Yes. Select the affected row, open Table Design > Shading, and choose No Color or the equivalent clear-fill option. This removes the cell background without deleting the text or table content.
Related
- Outlook Excel Import: Move Spreadsheet Data Safely
- Outlook Excel Sheet: Create a Data Entry Form in Excel
- How to Copy an Excel File to Word
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Split Cell Color in Half: What WorksExcel cannot give one cell two separate solid fill colors, but you can create the appearance of a…
- How to Freeze Rows in Google Sheets: A Quick GuideTo freeze rows in Google Sheets in a web browser, open View > Freeze and choose 1 row…
- Excel Data Validation Lists Based on CriteriaTo make an Excel drop-down list change according to a criterion, put a FILTER formula in a helper…
- How to Add a Header to One Page Only in Microsoft WordTo put a header on just one page in Word, isolate that page in its own section with…
- Remove a Section Break in Word Without Losing LayoutTo remove a section break in Word, show formatting marks, place the cursor immediately before the break, and…
- Google Sheets DATEDIF Formula: Syntax and ExamplesIn Google Sheets, use DATEDIF(start_date, end_date, unit) to calculate the time between two dates in days, complete months,…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.