Changing All Text of a Particular Color

by Allen Wyatt
(last updated April 6, 2019)

1

Steve has a document which, in various places, uses a text color that has an RGB value of 102, 255, 255. This, in the end, proved an inadequate color for his needs, so he needs to change the color of all that text to have an RGB value of 181, 255, 255. Steve wonders if there is a way to make the change all at once.

There are three ways you can go about approaching this problem. The first is to rely on styles. The idea would be to create a character style for the text you want in that particular color. When you are creating the document, apply that style to all those words you want to appear in that color. Then, when you need to change the color (or any other attributes of that text), simply make your changes to the style. This results in all instances of text to which the style is applied being updated, immediately.

The second approach is to simply use Find and Replace. Follow these steps:

  1. Press Ctrl+H. Word displays the Replace tab of the Find and Replace dialog box.
  2. Click the More button, if it is available. The dialog box expands.
  3. Make sure the Find box is empty and the insertion point is in that box.
  4. Click the Format button and then click Font. Word displays the Find Font dialog box.
  5. Click the Font Color drop-down list and choose More Colors. Word displays the Colors dialog box.
  6. Make sure the Custom tab is displayed.
  7. Using the Red, Green, and Blue controls, specify the RGB values of the text you want to change.
  8. Click OK to dismiss the Colors dialog box.
  9. Click OK to dismiss the Find Font dialog box. The Find and Replace dialog box should still be visible, with the custom color showing under the Find box.
  10. Make sure the Replace With box is empty and the insertion point is in that box.
  11. Click the Format button and then click Font. Word displays the Replace Font dialog box.
  12. Click the Font Color drop-down list and choose More Colors. Word displays the Colors dialog box.
  13. Make sure the Custom tab is displayed.
  14. Using the Red, Green, and Blue controls, specify the RGB values of the color you want to use.
  15. Click OK to dismiss the Colors dialog box.
  16. Click OK to dismiss the Replace Font dialog box. The Find and Replace dialog box should still be visible, with the custom color showing under the Replace box.
  17. Click Replace All. Word displays a dialog box informing you how many replacements it made.
  18. Click OK to dismiss the information dialog box.
  19. Click Close to dismiss the Find and Replace dialog box.

Finally, you can always use a macro to make the replacements. This is particularly useful if you have a large number of documents in which you need to make the same change. The following macro essentially automates the Find-and-Replace steps just presented.

Sub FixColor()
    With Selection.Find
        .ClearFormatting
        .Font.Color = RGB(102, 255, 255)
        .Text = ""
        .Forward = True
        .Wrap = wdFindContinue
        .Format = True
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False

        .Replacement.ClearFormatting
        .Replacement.Font.Color = RGB(181, 255, 255)
        .Replacement.Text = ""
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
End Sub

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (6858) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Using Chapter Numbers with Page Numbers

Do you need to add page numbers that include, as well, a chapter number? It's relatively easy to do, as described in this ...

Discover More

Pasting Pictures into a Comment

Excel allows you to use a picture as a background on a cell comment. This tip looks at how you can paste pictures into a ...

Discover More

Editing While Spell-Checking

When you run a spell-check on a document, you may end up seeing other things that need to be edited. Never fear; you can ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Reversing Type

Most text appears black on white, not white on black. If you want to change this so that your type is reversed, here's a ...

Discover More

Rotating a Page of Text

You can rotate a page of text by using the Far East language support built into Word. This tip shows how easy it is to ...

Discover More

Changing One of Three Fonts

Once you are done formatting your document, you may want to make changes to part of that formatting without messing up ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven less than 7?

2022-05-26 19:26:08

Brother Monk

Please let me thank you for your help. No one else has been able to help me with my problem. I've been very ill for the past year, and my medications have caused my vision to blur.
I'm a monk. My community chants the psalms as a part of our community prayers 5 times daily. My blurred vision has made it difficult to read from our Psalm books and chant with my brothers. I ofter lose my place.
We vary chanting between 2 different sides of our community, sitting as a choir. I thought it would be easier for me to keep my place if I could print a Psalm book that alternates the color of a Psalm's verses, allowing me to quickly identify "which color verses" my section of the community is chanting for a particular Psalm. Then, if I lose my place, I can quickly scan verses in "my section's color," and hopefully more quickly find the right place to rejoin the chanting.
Black is easy to read and so would be one color for a verse's lettering. I had to try several other colors to find out which was easiest for me to read. It was tedious and slow to work through 285 pages changing the color of every other verse. It took days for me to work through only one version of a book. I would make mistakes, particularly at the beginning of a new section of pages. I had to check my work over and over.
The information you freely shared is a Godsend. I now have been able to try books with verses of many different colors and have found the color that works best for me. I can't describe how good it feels to read from my new Psalm book with verses of alternating colors that I can clearly read. My new book may be simple, but it is beautiful to me. I can join my community in our prayerful chanting without worrying about being unable to find my place if I get lost. Thank you so very much.


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.