Master Excel Color Palette Codes for Vibrant Data Visualization

Joan Jul 01, 2026

Ever found yourself struggling to match that perfect shade of blue in Excel? You're not alone. Excel's color palette can be a bit of a mystery, but with the right codes, you can unlock a world of color customization. Let's dive into the world of Excel color palette codes.

three different types of font and numbers in the water
three different types of font and numbers in the water

Excel uses a unique color-coding system that might seem daunting at first. But once you understand the basics, you'll be amazed at how much control you have over your spreadsheet's appearance. So, let's roll up our sleeves and get started.

the color chart for different shades of pink, blue, and green with text below
the color chart for different shades of pink, blue, and green with text below

Understanding RGB and HSL

Before we dive into the codes, it's crucial to understand the two color models Excel uses: RGB and HSL. RGB stands for Red, Green, Blue, and it's the model your monitor uses to display colors. HSL, on the other hand, stands for Hue, Saturation, Lightness, and it's a more intuitive way to think about color.

the color chart for different types of paints and their corresponding colors are shown in this image
the color chart for different types of paints and their corresponding colors are shown in this image

Excel uses RGB for its color codes, but understanding HSL can help you visualize the colors better. Don't worry, you don't need to be a color theory expert to use these codes. We'll provide plenty of examples to help you along the way.

RGB Color Codes

the different font and numbers in each color scheme
the different font and numbers in each color scheme

RGB color codes are made up of three numbers, each representing the intensity of red, green, and blue. These numbers range from 0 to 255. For example, the RGB code for pure red is 255,0,0, while the code for pure green is 0,255,0.

Here are a few examples of RGB codes and their corresponding colors:

  • Pure Red: 255,0,0
  • Pure Green: 0,255,0
  • Pure Blue: 0,0,255
  • Yellow: 255,255,0
  • Cyan: 0,255,255
  • Magenta: 255,0,255
a bunch of flowers that are in some type of color scheme with the words olive petal, golden clover, arctic daisy, rose blush, peach blossom and peach blossom
a bunch of flowers that are in some type of color scheme with the words olive petal, golden clover, arctic daisy, rose blush, peach blossom and peach blossom

HSL Color Codes

HSL color codes are made up of three numbers as well, but they represent different aspects of color. The first number is the hue, which is a degree on the color wheel, ranging from 0 to 360. The second number is the saturation, ranging from 0% to 100%. The third number is the lightness, also ranging from 0% to 100%.

Here are a few examples of HSL codes and their corresponding colors:

PROGRESS color palette – BNG witth shadow CODES hex
PROGRESS color palette – BNG witth shadow CODES hex
  • Pure Red: 0,100%,50%
  • Pure Green: 120,100%,50%
  • Pure Blue: 240,100%,50%
  • Yellow: 60,100%,50%
  • Cyan: 180,100%,50%
  • Magenta: 300,100%,50%

Using Color Palettes in Excel

Color Palette 090
Color Palette 090
an image of the ocean with different colors and names on it, including pinks, blue
an image of the ocean with different colors and names on it, including pinks, blue
a bunch of flowers that are on top of each other with the words above them
a bunch of flowers that are on top of each other with the words above them
an info sheet with different font and numbers on it, including the names of each type
an info sheet with different font and numbers on it, including the names of each type
Color Palette 005
Color Palette 005
the color scheme for different font styles and colors, including red, blue, pink, green
the color scheme for different font styles and colors, including red, blue, pink, green
the color palette is shown with different colors and font on each side, including pink, purple
the color palette is shown with different colors and font on each side, including pink, purple
the color chart for hex code is shown in blue, green, yellow and pink
the color chart for hex code is shown in blue, green, yellow and pink
retro color palette ideas for graphic design
retro color palette ideas for graphic design
an open book with anime characters on it and the text,'hex code '
an open book with anime characters on it and the text,'hex code '
an image of the different font styles
an image of the different font styles
Color Palette #608
Color Palette #608
Ocean Blue Google Calendar Hex Codes | Pastel Blue Google Calendar Hex Codes
Ocean Blue Google Calendar Hex Codes | Pastel Blue Google Calendar Hex Codes
an iphone screen showing different colors and font options for the app, which is also available on
an iphone screen showing different colors and font options for the app, which is also available on
Color Palette #306
Color Palette #306
an image of flowers with the names of them in different colors and font options on it
an image of flowers with the names of them in different colors and font options on it
Spring color palette 👚🥝
Spring color palette 👚🥝
the color scheme for different shades of pink and green
the color scheme for different shades of pink and green

Now that you understand the color codes, let's see how to use them in Excel. Excel has a built-in color palette that you can access through the 'Fill Color' button in the 'Home' tab. However, you can also input your own color codes.

To input a color code in Excel, follow these steps:

  1. Select the cell(s) you want to fill with color.
  2. Click on the 'Fill Color' button in the 'Home' tab.
  3. Click on 'More Colors...' at the bottom of the palette.
  4. In the 'Colors 1' section, click on the 'Custom' tab.
  5. Enter your RGB or HSL color code in the appropriate fields.
  6. Click 'OK' to apply the color.

RGB to HSL Conversion

If you have an RGB code but want to convert it to HSL, you can use an online converter. There are plenty of tools available that can do this for you. Alternatively, you can use the following formulas:

HSL Hue HSL Saturation HSL Lightness
(R - G + B) / (2 * (255 - abs(R - G) - abs(G - B))) (max(R, G, B) - min(R, G, B)) / (max(R, G, B) + min(R, G, B)) * 100% (max(R, G, B) + min(R, G, B)) / 510

HSL to RGB Conversion

Similarly, if you have an HSL code but want to convert it to RGB, you can use the following formulas:

RGB Red RGB Green RGB Blue
c * (1 + s * (h / 60 - 1/3)) c * (1 + s * (2/3 - h / 60)) c * (1 + s * (1/3 - h / 360))

Where c = l * (2 - s) and s = saturation / 100.

And there you have it! You're now equipped with the knowledge to take full control of your Excel color palette. Whether you're trying to match a specific brand color or just want to spice up your spreadsheets, these color codes have got you covered. So go forth and color your way to spreadsheet success!