Modify the Main color for the Red theme from been rgb(164, 38, 44) to rgb(208, 0, 13)

john john 911 Reputation points
2021-12-07T01:40:27.413+00:00

We are working on a modern communication site >> and we chose the Red theme, as follow:-

155492-sitetheme.png

but can we change the Red theme color from been rgb(164, 38, 44) to rgb(208, 0, 13)? We want the same exact theme as the built-in theme , but we just want to change the main red color code from been rgb(164, 38, 44) to rgb(208, 0, 13)? is this possible and how?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,154 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,547 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yi Lu_MSFT 17,366 Reputation points
    2021-12-07T09:41:21.097+00:00

    Hi @john john
    We need to add a new custom theme if we want to modify the main color for the red theme, you could refer to:
    https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/add-spotheme?view=sharepoint-ps

    In this case you just want to change the main color, so you could get the current theme parameters first, then change the "themePrimary"

    The color rgb(208, 0, 13) turn to hex color is cc0000, so you just need to turn the value of themePrimary to #cc0000


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.