Skip to main content

Customizing SharePoint Themes Using PowerShell

When it comes to choosing the color scheme for your SharePoint site, the default options may not be quite what you are looking for. Out of the box, SharePoint only comes with 12 distinct color schemes. And most of the time, these color schemes do not mesh well with your Company’s branding. To perfectly match your Company’s color scheme, you can create and upload custom themes.

Using Microsoft theme designer, customizing SharePoint themes is pain-free and made even easier. This designer is available at Fluent UI Theme Designer ( With this designer, you can set primary, secondary, and background colors. These color options are shown in real time using an example of a SharePoint page with icons, drop-down menus, and free text boxes.

customizing Sharepoint themes

 One of the best features of the Fluent UI Theme Designer is the “Accessibility Checker” which shows how legible the text is with the chosen color scheme.

accessinility checker

As you can see in the example above, the color scheme chosen shows a contrast ratio error with the primary and background colors. Playing around with the different shades of these colors can give you a theme that passes all the accessibility tests and is ready to export and install.

After choosing the appropriate colors for your customized theme, follow the instructions below to export and install.

1.     Click the “Export Theme” button at the top right of the page.

2.     Click on the PowerShell option, select all and copy the text to a text editor, such as Notepad.

3.     Download and install the SharePoint Online Management app from Microsoft here.

4.     Open the SharePoint Online Management app.

5.     At the prompt type: Connect-SPOService -Url (replace domain with the appropriate SharePoint domain name), then press Enter.

6.     At the login screen, log in with your SharePoint Admin credentials.

7.     Once logged in, at the command prompt, type $themepalette =Paste in the code from Step 2. The window should look like this:

Sharepoint online management shell

8.     Press Enter, then type the following: Add-SPOTheme -Identity “Theme Name” -Palette $themepalette -IsInverted $false (Replace Theme Name with the name you want to give your theme). Note this name will be visible to those with access to the change the look, so give it a name appropriate to your Company. Press Enter and the theme will be installed and can be chosen from the “Change the Look” menu.

Sharepoint theme customization

Hope this tutorial helps you quickly and easily customize the look of your SharePoint site to reflect your professional style and brand.

Let us build something amazing together
Connect with us.

With over 20 years of experience working with Microsoft Technologies, Imaginet can help you choose the right Microsoft 365 solution to adopt an effective hybrid workplace model and improve employee engagement. Contact us to get your free virtual consultation.

Let's Talk

Like what you read?

Check out our recent articles.

February 3, 2023 in Office 365, Productivity

Understanding Organization-Wide Signatures and Disclaimers in M365

To create an organization-wide signature, you'll need to access the Exchange admin center in M365. From here, you can go to "Mail flow" > "Signatures." From the Signatures page, you can create a new signature and apply it to all employees in your organization. You can also edit existing signatures, as well as delete signatures that are no longer needed.
Read More
January 31, 2023 in Application Development, SQL Server

Using Query Store to Analyze Database Performance

Are you concerned about how your database is performing for your application? Did you know that there is a built-in feature in SQL Server and Azure SQL that you can use to evaluate your database for potential problems? Query Store has been available since the introduction of SQL Server 2016, and is enabled by default in Azure SQL and Azure SQL Managed Instances, but it has flown under the radar as a performance tool.
Read More
January 19, 2023 in Application Development

UX and Dev: A Perfect Partnership

There are many benefits of utilizing a UX designer’s expertise during a project, which include making it more efficient for the development team to implement the functionality. At a high level, a UX designer focuses on improving the interactions between a user and an application or website. In the past, these were often left up to us as developers...
Read More
January 9, 2023 in Agile, Application Development

Agile Project Management in Consulting

One of the key benefits of agile project management is that it allows for a more iterative and incremental approach to software development giving a faster Return on Investment (ROI) for the customer. Rather than trying to plan out every aspect of a project in advance, agile teams focus on delivering small, usable features of software on a regular basis. This allows the development team to be more responsive to changes in the project's requirements…
Read More
Jesse Dyck

Jesse Dyck has over 10 years experience as a SharePoint Solutions Consultant. He has delivered custom intranet and internet solutions for various clients both large and small across North America.

Let‘s Talk.

Let's talk!