PowerPoint Custom Color From HEX: How to Enter Brand Codes Exactly
🔍 WiseChecker

PowerPoint Custom Color From HEX: How to Enter Brand Codes Exactly

You have a brand color code written as a six-character HEX value like #2B579A, but PowerPoint does not accept HEX codes directly. The color picker in PowerPoint expects RGB values, which are decimal numbers ranging from 0 to 255. This article explains how to convert your HEX code to RGB and enter it into PowerPoint so your slides match your brand guidelines exactly. You will learn the exact steps to add a custom color in the standard color picker and how to save that color for reuse across your presentation.

Key Takeaways: How to Enter HEX-Based Brand Colors in PowerPoint

  • HEX to RGB conversion: PowerPoint cannot read HEX codes, so you must convert the six-digit code into three decimal numbers between 0 and 255.
  • More Colors > Custom tab: This is the only place in the PowerPoint color picker where you can enter numeric RGB values.
  • Right-click shape or text > Fill or Font Color > More Fill Colors: This path opens the Custom color dialog where you type the converted RGB numbers.

ADVERTISEMENT

Why PowerPoint Does Not Accept HEX Codes Directly

HEX codes are a web-standard way to represent colors in HTML and CSS. The six characters after the hash sign are a base-16 number that defines the red, green, and blue components. PowerPoint uses the RGB color model, which expresses each component as a decimal from 0 to 255. The color picker in PowerPoint was designed before HEX became common in web design, and Microsoft has not added a direct HEX input field to the standard dialog. Every time you have a HEX brand color, you must convert it to RGB before you can use it in your presentation.

The conversion is straightforward. Split the six-character HEX code into three pairs: the first two characters for red, the middle two for green, and the last two for blue. Convert each pair from hexadecimal to decimal. For example, the HEX code #2B579A breaks down into red pair 2B, green pair 57, and blue pair 9A. 2B in decimal is 43, 57 is 87, and 9A is 154. You then enter 43, 87, and 154 in the Red, Green, and Blue fields in the PowerPoint Custom color dialog.

Steps to Convert a HEX Code and Enter It in PowerPoint

Follow these steps to apply a custom HEX-based color to any shape, text, or slide background in PowerPoint. The process is identical in PowerPoint for Microsoft 365, PowerPoint 2021, PowerPoint 2019, and PowerPoint 2016.

  1. Write down your HEX code
    Get the six-character HEX code from your brand guidelines. For this example, use #2B579A. Remove the hash sign so you have 2B579A.
  2. Convert the HEX pairs to decimal numbers
    Split the code into three pairs: 2B, 57, 9A. Use a calculator or an online HEX-to-decimal converter to get the decimal values. 2B equals 43, 57 equals 87, and 9A equals 154. Write these three numbers down.
  3. Select the object you want to color
    Click a shape, text box, chart element, or slide background. For text, select the specific characters or the entire text box.
  4. Open the color picker for the fill or font
    On the Home tab or the Format tab, click the Fill button or Font Color button. If you are changing a shape fill, click Shape Fill. If you are changing text, click Font Color. A small color palette drops down.
  5. Click More Fill Colors or More Colors
    At the bottom of the color palette, click the option labeled More Fill Colors for shapes or More Colors for text. A Colors dialog box opens.
  6. Switch to the Custom tab
    In the Colors dialog, click the Custom tab. You will see three fields labeled Red, Green, and Blue, each with a number between 0 and 255.
  7. Enter the three decimal numbers
    Type the red value 43 into the Red field, the green value 87 into the Green field, and the blue value 154 into the Blue field. The preview box shows the resulting color.
  8. Click OK to apply the color
    The selected object now uses the exact brand color from your HEX code.

Save the Custom Color for Reuse in the Current Presentation

After you apply the custom color, it does not automatically appear in the theme color palette. To reuse the same color on other objects without repeating the HEX conversion, right-click the colored object, select Set as Default Shape or pick the color from the Recent Colors row at the bottom of the color picker. Recent Colors stores the last ten custom colors you used in the current session.

Add the Custom Color to the Theme Colors Permanently

  1. Go to View > Slide Master
    Open the Slide Master view to edit the theme color set for the entire presentation.
  2. Click Colors > Customize Colors
    On the Slide Master tab, click the Colors button, then select Customize Colors at the bottom. The Create New Theme Colors dialog appears.
  3. Replace a color slot with your HEX-based color
    Click the button next to a color slot such as Accent 1. The standard color picker opens. Click More Colors, then the Custom tab, and enter the RGB values you calculated. Name your custom theme and click Save.
  4. Apply the custom theme
    Close Slide Master. Your new theme colors are now available in the color picker under the theme color section.

ADVERTISEMENT

Common Mistakes When Entering HEX Colors in PowerPoint

I Typed the HEX Code Directly Into the Color Dialog

The Custom tab in the Colors dialog only accepts decimal numbers between 0 and 255. Typing a HEX string such as 2B579A into any of the three fields will result in an error or a completely different color. Always convert the HEX code to three decimal numbers before entering them.

The Color Looks Different After Applying It

PowerPoint uses the sRGB color space. If your brand guidelines specify a color in a different color space such as Adobe RGB or CMYK, the visual appearance may shift slightly. For screen-only presentations, sRGB is standard. For printed handouts, the color will differ because printers use CMYK. If exact print matching is required, order a printed proof and adjust the RGB values visually.

I Cannot Find the Custom Tab in the Colors Dialog

The Custom tab only appears when you click More Colors from the fill or font color picker. If you are using the Eyedropper tool, it does not open the Colors dialog. Click the Fill or Font Color button first, then select More Colors at the bottom of the palette.

The Color I Saved in Theme Colors Changed After I Reopened the File

Custom theme colors are stored inside the presentation file. If you send the file to someone who opens it in an older version of PowerPoint, the theme colors may map to the closest available color. Always verify that the recipient uses a version that supports custom theme colors, or embed the color using the method described above.

HEX Code vs RGB vs HSL: Color Input Methods in PowerPoint

Item HEX Code RGB Decimal HSL
Description Six-digit base-16 color code used in web design Three decimal numbers (0–255) for red, green, blue Three values for hue (0–360), saturation (0–100%), lightness (0–100%)
PowerPoint support Not accepted in any input field Accepted in the Custom tab of the Colors dialog Accepted in the Custom tab of the Colors dialog
Conversion needed Must convert to RGB or HSL before entering None None
Best use case Brand guidelines from web design teams Direct input after conversion Adjusting color tint and shade visually

You can now enter any brand HEX code into PowerPoint by converting it to RGB and using the More Colors > Custom tab. Save your custom color as part of a theme to apply it across all slides. For frequent use, keep a text file with your brand colors in RGB format so you can copy the numbers without recalculating each time.

ADVERTISEMENT