Home

Add Custom Colors in Color Palette of CEWP in SharePoint Online

%3CLINGO-SUB%20id%3D%22lingo-sub-327789%22%20slang%3D%22en-US%22%3EAdd%20Custom%20Colors%20in%20Color%20Palette%20of%20CEWP%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327789%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20have%20a%20requirement%20to%20incorporate%20custom%20colors%20used%20by%20the%20client%20in%20color%20palette%20(shown%20on%20edit%20of%20CEWP%20-%20see%20attached%20image)%20of%20a%20SharePoint%20Online%20site.%20We%20see%20that%20we%20can%20edit%20the%20last%206%20slots%20of%20the%20color%20palette%20by%20changing%20the%20'ContentAccent1'%20to%20'ContentAccent6'%20values%20in%20.SPCOLOR%20file%20of%20Themes%20galley%2C%20creating%20a%20new%20theme%20using%20the%20new%20.SPCOLOR%20file%20in%20Composed%20Looks%20and%20applying%20the%20new%20theme%20on%20the%20site.%20However%20we%20have%20requirement%20to%20add%20more%20than%206%20custom%20colors%20%26amp%3B%20their%20shades%20in%20the%20color%20palette.%20Has%20anyone%20come%20across%20this%20type%20of%20requirement%20and%20is%20there%20an%20way%20to%20achieve%20it%3F%3C%2FP%3E%3CP%3EAlso%20we%20see%20that%20in%20Microsoft%20PPT%202016%20file%2C%20we%20can%20add%20our%20own%20custom%20'color%20section'%20in%20the%20color%20palette%20by%20modifying%20.XML%20file%20of%20the%20theme.%20In%20SharePoint%20(from%202013%20version%20onwards)%2C%20there%20is%20no%20provision%20to%20modify%20the%20theme%20file%20directly%20(its%20linked%20through%20.SPFONT%20%26amp%3B%20.SPCOLOR%20files%20through%20Composed%20Looks).%20Is%20there%20any%20way%20to%20add%20such%20custom%20colors%20section%20in%20the%20color%20palette%20of%20SharePoint%20online%20site%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-right%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F71409i0C8820942AA38AE1%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22Color_Palette.PNG%22%20title%3D%22Color_Palette.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAashish%20Dhole%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-327789%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBranding%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EColors%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EThemes%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329195%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Custom%20Colors%20in%20Color%20Palette%20of%20CEWP%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329195%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3Bfor%20your%20reply.%20Any%20alternative%20approach%20to%20achieve%20this%20requirement%20in%20SPO%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-327844%22%20slang%3D%22en-US%22%3ERe%3A%20Add%20Custom%20Colors%20in%20Color%20Palette%20of%20CEWP%20in%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-327844%22%20slang%3D%22en-US%22%3EI%20think%20this%20is%20not%20possible%20in%20SPO%3C%2FLINGO-BODY%3E
Highlighted
aashish_dhole-1911
New Contributor

Hi,

We have a requirement to incorporate custom colors used by the client in color palette (shown on edit of CEWP - see attached image) of a SharePoint Online site. We see that we can edit the last 6 slots of the color palette by changing the 'ContentAccent1' to 'ContentAccent6' values in .SPCOLOR file of Themes galley, creating a new theme using the new .SPCOLOR file in Composed Looks and applying the new theme on the site. However we have requirement to add more than 6 custom colors & their shades in the color palette. Has anyone come across this type of requirement and is there an way to achieve it?

Also we see that in Microsoft PPT 2016 file, we can add our own custom 'color section' in the color palette by modifying .XML file of the theme. In SharePoint (from 2013 version onwards), there is no provision to modify the theme file directly (its linked through .SPFONT & .SPCOLOR files through Composed Looks). Is there any way to add such custom colors section in the color palette of SharePoint online site?

 

Regards,Color_Palette.PNG

Aashish Dhole

2 Replies
Highlighted
I think this is not possible in SPO
Highlighted

Thanks @Juan Carlos González Martín for your reply. Any alternative approach to achieve this requirement in SPO?

Related Conversations
Make Share function in Edge more useful
HotCakeX in Discussions on
2 Replies
API access to the new Project Online
BenjaminMel in Project on
2 Replies
Issue when accessing enterprise resource pool
cmill262 in Project on
4 Replies
Last Log In Activity on Microsoft Project?
Devryk in Project on
0 Replies