How to Lock Theme Colors So Users Cannot Pick Non-Brand Tints
🔍 WiseChecker

How to Lock Theme Colors So Users Cannot Pick Non-Brand Tints

When you distribute a PowerPoint template to your team, you want everyone to use your brand colors. But users can still pick any color from the standard palette or a custom RGB value. This breaks brand consistency and forces you to manually fix slides later. The cause is that PowerPoint theme colors are not locked by default. This article explains how to lock theme colors using XML editing and the Office Color Scheme tool so users can only pick from your approved brand tints.

Key Takeaways: Locking Brand Colors in PowerPoint Templates

  • Modify the .thmx XML file directly: Removing the accent color mappings forces PowerPoint to use only theme colors and blocks custom color selection.
  • Use the Color Scheme tool in Slide Master view: Create a custom color scheme with only brand colors and delete unused slots to limit choices.
  • Save as .potx template with restricted permissions: Combine the locked color scheme with Information Rights Management to prevent users from saving over the template.

ADVERTISEMENT

Why Users Can Pick Non-Brand Colors in Your PowerPoint Template

PowerPoint stores theme colors in a separate XML file inside the .potx or .thmx package. By default, this file includes 12 color slots: 4 text/background colors, 6 accent colors, and 2 hyperlink colors. When a user clicks the Fill Color or Font Color button, PowerPoint displays these 12 theme colors in the top row of the palette. But the palette also shows a row of standard colors and a More Colors option. The More Colors dialog lets users pick any RGB, HSL, or hex value. Even if you set the theme colors to your brand palette, the More Colors option remains active. PowerPoint does not have a built-in toggle to disable custom color selection. To lock colors, you must manipulate the underlying XML to remove the ability for PowerPoint to fall back to non-theme colors.

How the Color Palette Works in PowerPoint

The color palette in PowerPoint is divided into three sections. The first section shows the 12 theme colors from the active color scheme. The second section shows ten standard colors plus a gradient. The third section shows Recent Colors and the More Colors button. The More Colors button opens the Colors dialog with two tabs: Standard and Custom. The Custom tab allows any color input. When you lock theme colors, you are not removing these UI elements. Instead, you are making them non-functional by removing the color mappings that PowerPoint uses to display non-theme colors. When the mappings are missing, PowerPoint displays a grayed-out palette or shows only the theme colors. Users cannot pick any color outside the theme set.

Steps to Lock Theme Colors by Editing the XML File

  1. Save your presentation as an Office Theme file
    Open your presentation in PowerPoint. Go to the Design tab and click the More arrow in the Variants group. Select Save Current Theme. Choose a location and save the file with a .thmx extension. This creates a standalone theme file that you will edit.
  2. Rename the .thmx file to .zip
    Close PowerPoint. Locate the .thmx file in File Explorer. Press F2 to rename the file. Change the extension from .thmx to .zip. Confirm the warning about changing the file extension. The file icon changes to a compressed folder.
  3. Extract the contents of the zip file
    Right-click the zip file and select Extract All. Choose a folder and extract the contents. You will see a folder named theme inside the extracted files.
  4. Open the theme XML file in a text editor
    Navigate to the theme folder. Open the file named theme1.xml with Notepad or any plain text editor. Do not use Word or WordPad as they may add formatting.
  5. Remove the non-theme color mappings
    Search for the tag . This tag contains extra color schemes that PowerPoint uses for non-theme colors. Delete everything between and . Save the file and close the editor.
  6. Repack the zip file and rename back to .thmx
    Select all the extracted files and folders. Right-click and select Send to Compressed (zipped) folder. Rename the new zip file to your original theme name with the .thmx extension. Overwrite the old file if prompted.
  7. Apply the locked theme to your presentation
    Open your presentation in PowerPoint. Go to the Design tab and click the More arrow in the Themes group. Select Browse for Themes. Navigate to the .thmx file you just created and double-click it. The theme applies and users can now only pick from the 12 theme colors.

ADVERTISEMENT

Alternative Method: Create a Custom Color Scheme With Restricted Slots

  1. Open the Slide Master view
    Go to the View tab and click Slide Master. In the left pane, select the topmost slide master.
  2. Create a new color scheme
    Click the Colors dropdown in the Background group. Select Customize Colors. The Create New Theme Colors dialog opens.
  3. Set all 12 color slots to your brand colors
    For each of the 12 slots, click the color picker and select More Colors. Enter your exact brand RGB or hex values. Do not leave any slot with a default color.
  4. Name and save the color scheme
    In the Name field, type a descriptive name like Brand Colors Locked. Click Save. The custom scheme appears in the Colors dropdown.
  5. Delete unused color slots from the XML
    Follow the XML editing steps from the previous method. But instead of removing the extra color scheme list, delete the color definitions for any accent slot you do not want users to access. For example, if you only want Accent 1 and Accent 2, delete the XML blocks for Accent 3 through Accent 6. This reduces the palette to only your chosen brand tints.

Common Mistakes When Locking Theme Colors

Users can still see the More Colors button

The XML editing method removes the color mappings but does not hide the More Colors button. Users who click More Colors will see an empty or grayed-out dialog. To prevent this, combine the locked theme with a macro that disables the More Colors button. Add a VBA macro to the .potm template that sets Application.CommandBars(“Colors”).Enabled = False. This hides the button entirely.

The locked theme does not apply to new slides

If users create a new presentation from a blank template, the locked theme is not applied. Save your presentation as a .potx template file and instruct users to create new files from that template. You can also use Group Policy to set the default template for your organization. In Windows, place the .potx file in the Templates folder under Office installation directory.

Colors appear different after the theme is locked

This happens when the original theme file had color overrides in individual slides. Before locking, remove any direct color formatting. Select all slides, go to the Home tab, and click Reset. Then apply the locked theme. This ensures all colors come from the theme slots.

Locked Theme vs Standard Theme: Color Selection Differences

Item Locked Theme Standard Theme
Theme color slots available 12 slots with brand colors only 12 slots with default Office colors
Standard color row in palette Grayed out or hidden 10 standard colors visible
More Colors button functionality Disabled or shows empty dialog Opens Colors dialog with full RGB control
Custom color input (RGB/HSL) Blocked Allowed
Slide Master color scheme override Not possible Possible by editing the color scheme

Locking theme colors requires modifying the .thmx XML file and optionally using a VBA macro. The result is a template where users can only pick from your brand palette. The standard theme leaves all color options open. For brand consistency, the locked theme is the only reliable method in PowerPoint without third-party add-ins.

You can now create a PowerPoint template with locked theme colors that prevents users from picking non-brand tints. Start by editing the .thmx XML file to remove the extra color scheme list. Then save the template as a .potx file and distribute it to your team. As an advanced step, add a VBA macro to hide the More Colors button entirely. This gives you full control over brand colors across all presentations.

ADVERTISEMENT