When you apply a theme in PowerPoint, the software typically shows four color variants in the Variants gallery on the Design tab. These four variants are shortcuts to pre-configured color schemes stored in the theme file. Many users think they are stuck with these four choices. This article explains how the variant system works and shows you how to create an unlimited number of custom variants by editing the theme XML file directly. You will learn to add new color schemes, rename variants, and remove unwanted ones without breaking the theme.
Key Takeaways: Editing Theme Variants in PowerPoint
- Design tab > Variants > More Variants dropdown: Opens the color and font galleries but does not reveal the hidden XML structure.
- Rename .pptx to .zip and open theme.xml: Lets you add, remove, or reorder variant color schemes beyond the default four.
- Replace clrScheme elements in theme.xml: Each variant is a separate color scheme defined inside the theme file.
How PowerPoint Theme Variants Work
A PowerPoint theme file is a collection of XML documents packaged inside a .zip archive. The theme defines colors, fonts, effects, and background styles. Variants are simply multiple color scheme definitions stored in the same theme file.
When you select a theme from the Design tab, PowerPoint reads the theme.xml file inside the theme archive. That file contains a clrScheme element for each variant. By default, most built-in themes include four clrScheme elements, which appear as the four variant thumbnails.
You can add more clrScheme elements to the theme.xml file. Each new element creates an additional variant in the Variants gallery. The order of the clrScheme elements in the XML determines the order of the variant thumbnails.
What the Variants Gallery Actually Shows
The Variants gallery on the Design tab displays color thumbnails, font thumbnails, and effect thumbnails. The color thumbnails correspond to the clrScheme elements in the theme. The font thumbnails correspond to the majorFont and minorFont elements. The effect thumbnails correspond to the effectStyle elements.
When you hover over a variant thumbnail, PowerPoint shows a live preview of that color scheme applied to the current slide. Clicking the thumbnail applies the variant to the entire presentation.
Steps to Add New Color Variants Beyond the Built-In Four
To add more than four variants, you must edit the theme.xml file directly. You will need a text editor such as Notepad or Visual Studio Code. Do not use WordPad or a rich text editor because they can insert formatting characters that break the XML.
- Save the presentation as a .pptx file
If your presentation is in .ppt format, convert it to .pptx first. File > Save As > PowerPoint Presentation (.pptx). - Change the file extension from .pptx to .zip
Right-click the file in File Explorer and choose Rename. Replace .pptx with .zip. Confirm the warning about file extension changes. - Open the zip archive and locate the theme folder
Double-click the .zip file to open it. Navigate to the folder ppt > theme. You will see one or more .xml files. The main theme file is usually named theme1.xml. - Extract theme1.xml to your desktop
Drag the file out of the zip archive to a folder on your desktop or Documents folder. - Open theme1.xml in a text editor
Right-click the extracted file and choose Open with > Notepad or your preferred code editor. Do not use a word processor. - Locate the clrScheme elements
Search for the string a:clrScheme. Each clrScheme element defines one color variant. The element looks like this:<a:clrScheme name="VariantName">...</a:clrScheme> - Copy an existing clrScheme element to create a new variant
Select the entire clrScheme element from the opening tag to the closing tag. Copy it. Paste it directly after the last clrScheme element. Change the name attribute to something unique, for example Custom Blue. - Edit the color values inside the new clrScheme
Inside the new clrScheme element, you will see 12 color slots: dk1, lt1, dk2, lt2, accent1 through accent6, and hlink. Each slot has a value in hexadecimal format. Change these values to your desired colors. For example, change<a:dk1><a:srgbClr val="000000"></a:srgbClr></a:dk1>to a different hex value. - Save the edited theme1.xml file
File > Save. Keep the same filename and location. - Replace the old theme1.xml in the zip archive
Drag the edited theme1.xml back into the zip archive. Confirm the replacement when prompted. - Rename the file back to .pptx
Change the extension from .zip back to .pptx. - Open the presentation in PowerPoint
Double-click the file. Go to the Design tab. Click the More arrow in the Variants gallery. Your new variant appears in the color thumbnail list.
How to Remove Unwanted Variants and Rename Existing Ones
Removing a variant is simpler than adding one. You delete the entire clrScheme element from the theme.xml file. Renaming a variant requires changing the name attribute of the clrScheme element.
- Open the theme.xml file as described in steps 1 through 5 above
Extract the theme1.xml file from the .zip archive. - To remove a variant, delete its clrScheme element
Select the entire clrScheme element that corresponds to the variant you want to remove. Press Delete. Ensure you keep the remaining clrScheme elements intact. - To rename a variant, change the name attribute
Find the clrScheme element you want to rename. Change the value of the name attribute. For example, changename="Custom Blue"toname="Corporate Green". - Save, replace, and rename the file
Save the edited theme1.xml, drag it back into the zip archive, and change the extension back to .pptx.
Common Mistakes and Limitations When Editing Theme Variants
PowerPoint displays an error when opening the edited file
This usually means the XML structure is broken. Open the theme1.xml file again and check for missing closing tags, extra spaces, or invalid characters. Use an XML validator tool online to check the file before repackaging it.
New variant does not appear in the Variants gallery
Make sure the new clrScheme element is placed inside the a:themeElements section, not outside it. Also verify that the name attribute is unique. Duplicate names cause PowerPoint to ignore the duplicate.
Colors in the new variant look different from what you set
PowerPoint uses the srgbClr value, not the sysClr value. Ensure you are editing the srgbClr val attribute. If you changed the wrong color slot, check the role of each slot: dk1 and lt1 are the darkest and lightest colors; accent1 through accent6 are the six accent colors.
Variants gallery still shows only four thumbnails after adding more
PowerPoint limits the Variants gallery to showing a maximum of four color thumbnails at a time. When you add more than four clrScheme elements, the gallery displays a scroll arrow. Click the arrow to see the additional variants.
Built-In Variants vs Custom XML Variants
| Item | Built-In Variants | Custom XML Variants |
|---|---|---|
| Number of variants | Four per theme | Unlimited |
| Editing method | Design tab > Variants > Colors | Edit theme.xml with a text editor |
| Color precision | Limited to preset color slots | Any hexadecimal color value |
| Font control | Font pairing is separate | Font pairing included in the same XML |
| Risk of breaking theme | Low | High if XML is malformed |
You can now create an unlimited number of color variants for any PowerPoint theme by editing the theme.xml file. Start by adding one custom variant to a theme you use frequently. Use the same method to rename or remove variants that do not match your brand colors. For a cleaner workflow, keep a backup copy of the original theme file before making changes.