We love PowerPoint at BrightCarbon. It’s such a versatile application which can be used for so much more than ‘just’ designing presentations. You can create videos, printed collateral, interactive eLearning, even animated GIFs and so much more. But did you know you can even create games? We’ve built one for you, using VBA, and it’s free to download and adapt.
Do you like to hack? We like to hack, too! We also like to share how to hack. You may have already discovered how to change your theme colors, and how to add spot colors to your PowerPoint presentation, template, or theme. But are ten colors enough? Would you like more? Well, the good news is you can have more. And we’re about to show you how to add custom colors in PowerPoint to your template themes.
Speaking the color lingo
Before we get started, let’s clear something up: color is defined and used in PowerPoint in myriad ways – everything from theme colors and tints and shades, to spot colors, recently used colors and custom colors.
When you open the default Microsoft Office template and want to change the color of something, you see the standard PowerPoint color picker:
The ten colors at the top are Theme Colors. Check out our blog post on theme colors to find out how to change them.
The 50 colors underneath the theme colors are a set of automatically generated tints and shades. They seem to have been created by a top-secret Microsoft algorithm determined to take your content off-brand… Unless I wasn’t clear: avoid using these at all costs, especially if your brand includes pre-defined tints and shades.
Below the theme colors are ten Standard Colors – while these might appeal to kindergarten kids, they are probably too garish for your corporate presentation!
Changing or disabling the 50 tints/shades or standard colors is not possible. We’d encourage any brand-aware readers to put pen to paper and ask Microsoft what they were thinking?!
You can choose from over 16 million colors by clicking More Colors, and add your chosen color (or spot color) to a new section of the color picker UI called Recent Colors. You can save a maximum of ten spot colors here, and they’re saved on a first-in, first-out basis:
Adding spot colors is useful when developing a color palette if you don’t already have one. But PowerPoint doesn’t let you delete them, which is annoying.
The solution? Our free BrightSlide add-in. BrightSlide has over 50 smart tools, including the ability to delete Recent Colors from your file. Download it today, and change your life forever.
So that’s all great. But what if you want more than ten colors? And what if your digital brand guide defines tints and shades? What are you supposed to do? Do not fear! It’s Custom Colors to the rescue!
Here’s an example from a template we programmed for a client. It includes their ten primary theme colors (top row of ten) and 36 custom colors in the section underneath:
You’ll see that the 50 tints and shades auto-generated by Microsoft (which appear in the Theme Colors), are different from the 36 custom colors defined in the digital brand guide. Using one of the 50 tints or shades from the theme section would take the presentation’s content off-brand.
Given that these can’t be disabled (don’t forget to write that letter to Microsoft!), we created instructions to show users how to use their brand colors properly. This example is from a guide we can provide with our presentation creation service:
But how do we create these custom colors, I hear you ask. Let’s find out.
Creating custom colors in PowerPoint
You have two options:
- You could become a geek, learn XML, and manually write barely readable code.
- Or (if that sounds like a bit too much of a lifestyle change) you could simply download and install BrightSlide – our free, life-changing PowerPoint add-in that works on Windows and macOS (and has a beautifully designed interface!)
Once you’ve downloaded and installed BrightSlide, open your PowerPoint file. If you’re developing a template, this will typically be a potx file (or at least a pptx file, which you later save as a potx when the design phase is complete).
With your file open, go to the BrightSlide tab, then to the File & Master group, and click Theme Colors, followed by Edit Theme Colors:
You’ll see your existing theme colors in a pair of windows:
You can edit the ten theme colors in the window on the left. And you can set the RGB values for your custom colors in the window on the right.
To start editing custom colors, click the grey Edit Custom Colors text in the right-hand window. This will reveal 50 available swatches. Note, if you have multiple masters in your file, you’ll see a warning, and you can choose to load any existing custom colors present in a single master file.
Before diving head first into a heap of custom color editing fun, it’s important to understand that Microsoft doesn’t allow you to define a blank/empty swatch, and that the definition runs from top-left to bottom-right. This means that if you want a blank swatch, it must be defined with a color of some sort – usually white and the name ‘blank’, or anything else you choose. You can define any number of custom colors between one and 50.
Repeat the steps below to define each color:
- Click the custom color swatch in the right-hand window to select it and copy the color from the left-hand window.
- Type the name of the color in the field below (the names appear in the PowerPoint color picker when you hover over the swatches).
- In the left-hand window, use the color sliders (RGB or HSL), RGB, or HEX input methods to set the color value.
Top tip: BrightSlide currently doesn’t save your work as you go, so to avoid losing your custom colors, click Export XML, and copy the contents to a text editor, email, or Word document. You can then hold the shift key while clicking the same button to paste and load your work back into the editor.
If the 50 tints and shades that Microsoft generates are a good starting point for you, then you can copy them from the top to the bottom of the right-hand window. You do this by holding the shift key while clicking on the palette preview area at the top.
Here’s a completed example:
Once you’ve defined your custom color palette, you have two choices:
- Use BrightSlide to Apply All
- Manually hack the PowerPoint file.
Option 1 sounds easy, and it is. But it comes with a caveat: BrightSlide’s Apply All is currently a Windows-only feature, and if you’re working on a file with multiple masters, or masters with graphics on them, or the default style has been set, then things could get messed up. This is because BrightSlide uses the Apply Theme feature from Microsoft and it’s, well, a bit buggy to be honest! Only use this feature if you’re creating custom colors in a brand new template based on the Office default template right at the start of a project.
At BrightCarbon, we prefer to go for option 2. When we develop enterprise-quality templates for clients, we always opt to manually hack the PowerPoint file. This is because it guarantees that only the custom colors are changed.
So, don’t close the color editor just yet…
It’s time to hack PowerPoint for custom colors!
You’ve defined your custom colors and it’s time to inject them into your PowerPoint file like a well-deserved brand guide vaccine.
The first thing to do is take a copy of the XML representation of the colors you created above. Still in the BrightSlide Edit Theme Colors editor, click Export All to open the XML editor window:
Now, aren’t you glad you don’t have to learn XML?! You can click Compress XML to remove all tabs and carriage returns, but this isn’t necessary as PowerPoint cleans up XML each time it saves a file.
Click Copy to copy the XML to the clipboard. Paste it somewhere else as a backup before you close the Edit Theme Colors editor and the window above.
Now it’s time to do the unthinkable. You’re going to hack a PowerPoint file. Be careful: the CIA, MI5 and MiB are all watching!
Every PowerPoint file – and indeed every Office file, including Word and Excel – is nothing more than a Zip archive with a special application-specific extension. You can rename any Office file, changing just the extension to .zip, and see inside Pandora’s box on Windows or macOS.
But there’s an easier way if you’re using Windows. Skip this section for macOS.
If you download and install the free 7-Zip application for Windows, you can edit the contents of a potx/pptx file and all sorts of other Office files directly, without having to rename them. Once installed, you’ll see a new right-click 7-Zip menu item in Windows File Explorer.
To open your file in 7-Zip:
- Close your PowerPoint file.
- Create a backup copy – this is VERY IMPORTANT in case you make a mistake later.
- Find the file in Windows File Explorer, right click it and select 7-Zip > Open archive:
You can now see inside your PowerPoint file. It will look something like this:
Just like Windows File Explorer, you can navigate around the archive. Double-click ppt then theme to find all your theme files. You’ll find at least one theme file named theme1.xml, and possibly others, depending on how you’ve created your PowerPoint file. They are typically named as follows:
- theme1.xml – theme for slide master 1
- theme2.xml – theme for notes master (or the next slide master)
- theme3.xml – theme for handout master (or the next slide master)
- theme4.xml and upwards if you have multiple masters (possibly ending with the pair for the notes and handout masters)
Double-click on the theme file you want to inject your custom colors into. Again, there are multiple text editors available, and we like to use the free Notepad++ app on Windows as it makes the XML more readable, and highlights opening and closing tags within the XML. BBEdit for macOS is also exceedingly good.
Here’s the XML for our slide master theme:
Pretty horrendous, huh? Don’t panic!
All you need to do is to scan from the bottom to find the tag <a:extraClrSchemeLst/>, highlighted above. That self-closed tag is followed by the opening <a:extLst> tag. Place your cursor in-between these two tags like so:
And then paste the XML you previously copied from the BrightSlide Theme Color Editor. You should now see something like this:
Save the XML file and then close your text editor. Return to the 7-Zip window and click OK to update the PowerPoint archive when prompted:
Repeat the XML hack steps for all theme files you want to inject your custom colors into.
Once you’ve finished, close 7-Zip and open your potx/pptx file again in PowerPoint to confirm that the custom colors appear in the PowerPoint color picker as expected. Don’t forget to check it for each slide master, your notes master and your handout master as the themes are different for each.
But I’m a macOS user
Things are a little different on the Mac. If you use any of the popular archiving utilities to simply unzip and rezip your PowerPoint file, even if you don’t edit any of the XML your file will be corrupted. PowerPoint will try and fail to repair it. The reason is that these utilities add hidden .DS_Store files all over the place and Office apps don’t like them one bit!
The solution is to use the macOS Terminal app to run a command to zip up your modified archive. Here’s how:
- Save your pptx file with a simple short name because you’ll have to type it later. Let’s use myfile.pptx and let’s save it in the Documents folder.
- In Finder, rename myFile.pptx to myFile.zip
- Unzip the file using your preferred unarchive utility
- Edit the required theme.xml file as in the Windows section above and save it when done
- Run the Terminal app
- Type this command to change directory to your unzipped folder:
- Type the list directory contents command to check that you’re in the right folder. You should see at least [Content_Types].xml, _rels, docProps and ppt
- Type this command to zip up the archive:
zip -r myfile.pptx *
You should now be able to open the pptx file in PowerPoint.
You’ve now added custom colors to PowerPoint! You’re a certified PowerPoint hacker and will be known to your colleagues and clients as a magician.Leave a comment
Senior technical consultantView Jamie Garroch's profile
Pictures in PowerPoint can be tricky to get to grips with. Choosing the right size has an impact on both the file size of your presentation and the maximum monitor/projection size you can use without degrading quality.
BrightCarbon are a great partner in our growth. They are great to work with, very consultative, and professional. I could not recommend working with them more highly.Neil Davidson Deltek