How to Add More Than 12 Custom Office Theme Colors
Question details
The user needs to define and use more than the standard 12 custom colors allowed in a default Office document theme.

- Product
- Microsoft Office
- Device & OS
- Windows, macOS
- Scenario
- Creating a complex document or presentation that requires a broader, brand-specific custom color palette beyond the standard 12 slots.
- Observed behavior
- The default Office theme color palette restricts users to a maximum of 12 custom color slots via the standard application interface.
Because this procedure involves manually editing underlying document code, create a secure backup copy of your document or theme file before proceeding to prevent accidental data corruption.
Modify the Office Open XML (OOXML) Theme Files
By extracting and editing the underlying XML structure of your document, you can manually define up to 50 custom colors within the theme file.
Modern Office files (.docx, .pptx, .xlsx) are essentially ZIP archives containing XML files. By altering the specific XML file that controls your document's theme, you can bypass the interface limit and inject additional custom color codes.
Create a copy of your document and rename its file extension from .docx or .pptx to .zip. If prompted with a warning about changing file extensions, click Yes to confirm.
Open the newly created .zip archive. Navigate to the 'word' or 'ppt' folder (depending on your document type), then open the 'theme' folder. Extract the 'theme1.xml' file to your desktop.
Open 'theme1.xml' using a plain text editor like Notepad on Windows or TextEdit on macOS. Locate the <a:extraClrSchemeLst> tag and manually add your custom color hex codes within proper XML tags, up to a maximum of 50 colors.
Save your changes to the XML file. Drag and drop the modified 'theme1.xml' back into the .zip archive's 'theme' folder to overwrite the original. Finally, rename the file extension from .zip back to .docx or .pptx.

Open and Edit Extended Color Documents Seamlessly in WPS Office
If you regularly work with modified OOXML themes containing advanced, extended custom color palettes, WPS Office perfectly supports and renders these configurations. It is a highly compatible, free Microsoft Office alternative that ensures your brand colors and formatting are never lost.
- 1. Download and Install WPS Office: Visit the official WPS website to download the free suite and install it on your Windows or macOS device.
- 2. Open Your Modified File: Launch WPS Office and open your .docx or .pptx file that contains the extended XML color theme.
- 3. Utilise Your Custom Palette: Navigate to the Design or Page Layout tabs to access and apply your extended custom color palette directly within your document.

Frequently Asked Questions
Why is the default custom color limit set to exactly 12?
Office applications standardise visual themes around 12 core slots (including text, backgrounds, accents, and hyperlinks) to maintain design consistency and ensure seamless cross-compatibility when moving elements between different types of documents.
Can I save this modified 50-color theme as a reusable template?
Yes. Once you have successfully modified the XML file and restored it to a working document, you can open it in your Office software and save the file as an Office Theme (.thmx) or a document template (.dotx/.potx) to reuse the extended palette in future projects.
Will these extra custom colors display correctly on both macOS and Windows?
Yes, because the colors are hardcoded into the universal Office Open XML structure of the file itself, both macOS and Windows versions of Office—as well as compatible alternatives like WPS Office—will render the colors correctly.




