Defining and Using Custom Colors

Written by Allen Wyatt (last updated January 14, 2023)
This tip applies to Excel 97, 2000, 2002, and 2003


Excel allows you to use a wide variety of colors in your worksheets. These colors are maintained in a palette, which you can see by choosing Tools | Options | Color tab. The palette contains up to 56 colors, 40 of which are "standard" colors (i.e., they are available from anywhere in Excel), and 16 of which are used for various purposes in charts.

You may have a need to define and use a custom color in Excel. For instance, your company may have a logo that uses a particular color, or you may just like to use a custom color for your own purposes. You can define custom colors by following these steps:

  1. Choose Options from the Tools menu. Excel displays the Options dialog box.
  2. Make sure the Color tab is selected. (See Figure 1.)
  3. Figure 1. The Color tab of the Options dialog box.

  4. Click on the color you want to modify. (Your new custom color must replace a color already defined in the palette. You cannot increase the size of the palette.)
  5. Click the Modify button. Excel displays the Colors dialog box.
  6. Using the Standard tab, select a color you want to use. (See Figure 2.)
  7. Figure 2. The Standard tab of the Colors dialog box.

  8. If you do not see the color you want on the Standard tab, display the Custom tab. Here you can specify the HSL (Hue, Saturation, Luminance) or RGB (Red, Green, Blue) values of the color you want to create.
  9. Click OK to close the Colors dialog box. The color at the palette position you selected in step 3 should be changed to your custom color.
  10. Click OK.

You can now use the color in your worksheet as you would normally use any other color.

You should note that the color you choose to replace or modify in step 3 is important. If you want your color to be available in most areas of Excel, you should choose a color from among the 40 colors categorized as "standard" palette colors on the Color tab of the Options dialog box. If you want to use the color in charts, then you should change one of the colors in the other parts of the palette. You may even want to define the color in each of the areas of the palette, so that you get the widest possible use of the color.

You should also note that the color palette is stored with the workbook. Thus, the changes you just made using the steps above will affect only the current workbook. If you want the palette to be available in other workbooks, you must copy the palette from one workbook to another, or make the changes within those workbooks, as well. You can copy the palette from one workbook to another by following these steps:

  1. Open both workbooks—the one you want to copy the palette from and the one you want to copy the palette to.
  2. Make sure the workbook you want to copy the palette to is displayed.
  3. Choose Options from the Tools menu. Excel displays the Options dialog box.
  4. Make sure the Colors tab is selected.
  5. Use the Copy Colors From drop-down list to specify where you want to copy the palette from.
  6. Click OK.

If you want the palette to be available for all future workbooks, you must make the changes to the palette and store them in the default workbook. (See other ExcelTips issues where the default workbook is discussed.)

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2734) applies to Microsoft Excel 97, 2000, 2002, and 2003.

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

Absolutely Positioning a Graphic

Want a graphic to appear at a precise place on the page? It's easy to gain control by following the steps in this tip.

Discover More

Excel Won't Display Different Windows in the Taskbar

If you want individual Taskbar buttons for each open Excel workbook but cannot seem to get those buttons, the culprit ...

Discover More

Using Very Large Font Sizes

You can format your text to use some very, very large font sizes. The results you see from formatting with large fonts ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Creating Superscript and Subscript Buttons

Want a quick way to apply superscript and subscript to selected text within a cell? This tip shows how the formatting can ...

Discover More

Controlling the Display of Toolbars

The various toolbars available in Excel are indispensable when it comes to easily accomplishing tasks. Here is a concise ...

Discover More

Adding a Little Animation to Your Life

Tired of the same old boring Excel look? You can add some life to your worksheets by introducing some animation. Here's ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, 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 0 + 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, 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.