To add background colour to a line in Word, click in the line, open Home > Borders > Borders and Shading, choose a Fill colour on the Shading tab and set Apply to to Paragraph. The colour fills the whole line from margin to margin.
This is ideal for status labels, headings and colour-coded lists. In this guide, you’ll learn how to shade a full line, give each line its own colour and centre the text better in each coloured band. The steps are for Microsoft 365 for Windows.
Highlight vs Background Colour on a Line
The Text Highlight Color button only colours behind the words themselves, so the colour stops where the text ends:

Paragraph shading works differently. When you add background colour to a line in Word with paragraph shading, it colours the whole line, from the left margin to the right margin, however short the text is. That is what the steps below set up.
Watch the Video Tutorial
If you prefer to see this in action, the full video walkthrough is below, showing each method step by step.
How to Add Paragraph Shading to a Line in Word
Step 1: Show the Paragraph Marks
Word shades whole paragraphs, so each line you want to colour must be its own paragraph. Turn on the paragraph marks to check:
- Open the Home tab.
- Select Show/Hide ¶ in the Paragraph group, or press Ctrl + Shift + 8.

👉 A ¶ mark appears at the end of every paragraph. If two of your lines share one mark, click at the end of the first line and press Enter to split them.

Step 2: Open Borders and Shading
- Click anywhere in the first line you want to colour. You do not need to select the text.
- On the Home tab, select the arrow next to the Borders button in the Paragraph group.

- Select Borders and Shading at the bottom of the menu.

Step 3: Choose a Fill Colour
- Select the Shading tab.

- Open the Fill list and choose a colour, for example red from Standard Colors.

- Check that Apply to says Paragraph. The Preview shows the colour across the full width.
- Select OK.

👉 The whole line is now coloured, right across the page:

Step 4: Colour the Other Lines
Click in the next line and repeat Steps 2 and 3 with a different colour. In the example, the second line is orange and the third is green:

Step 5: Centre the Text in the Colour
Word adds space after each paragraph, and the shading fills that space too, so the text does not sit in the middle of its coloured band. To improve it:
- Select all the coloured lines.
- On the Home tab, select Line and Paragraph Spacing in the Paragraph group.
- Choose Remove Space After Paragraph.

👉 The extra space below each line has gone, so the text sits much closer to the middle of each band. It will not be perfectly centred, but it looks neater:

Quick Tips
Several Lines at Once
Select several lines before opening Borders and Shading to give them all the same colour in one go.
Readable Text
Use black text on light or bright fills, and change the font colour to white on dark fills such as navy.
Copy the Look
Use the Format Painter to copy a line’s colour to another line.
Remove the Colour
Click in the line, open Borders and Shading and set Fill to No Color.
Common Problems
Only the Words Are Coloured
Apply to was set to Text. Open Borders and Shading again and change Apply to to Paragraph.
Two Lines Change Colour Together
The lines are one paragraph, with a line break between them. Turn on Show/Hide ¶, delete the ↵ line break symbol and press Enter instead.
The Colour Carries On to New Lines
Pressing Enter at the end of a coloured line copies its shading. Click in the new line and set Fill to No Color.
FAQs
How do I add background colour to a line in Word?
Click in the line, open Home > Borders > Borders and Shading, choose the Shading tab, pick a Fill colour, check that Apply to says Paragraph and select OK.
Why does highlighting only colour behind the words?
Text highlight and text shading only cover the characters you typed. Paragraph shading fills the full width between the margins, which is why the Apply to box must say Paragraph.
How do I give each line a different colour?
Each line must be its own paragraph, so press Enter at the end of each one. Then shade the lines one at a time, choosing a different fill colour each time.
How do I remove the background colour from a line?
Click in the line, open Borders and Shading again, choose the Shading tab and set Fill to No Color.
Why does the colour continue onto the next line I type?
Pressing Enter copies the paragraph’s formatting, including its shading, to the new line. Set the new line’s fill to No Color.
Does the background colour print?
Yes. Paragraph shading is part of the text formatting, so it prints and appears in a PDF, unlike the page colour set on the Design tab.
Conclusion
To add background colour to a line in Word, click in the line, open Borders and Shading, pick a Fill colour on the Shading tab and apply it to the paragraph. Repeat for each line, then remove the space after the paragraphs for neat, even bars. Microsoft describes the same feature in its guide to applying shading to words or paragraphs.
To colour only a few words instead, see how to highlight text in Word.
Related Tutorials
- How to Highlight Text in Word
- How to Add a Bottom Border in Word
- How to Add a Page Border in Word
- How to Add a Drop Cap in Word
- How to Hide Text in Word (Hide a Paragraph)
Word Tutorials
Recently Added on Word Made Easy
Browse the complete collection for help with formatting, layout, pages, tables, images, and document setup.
For Microsoft support documentation, visit the official Microsoft guidance.

Leave a comment
Stuck on a step, or know a quicker way? Ask or share it below.