How to create your own color palette (Umbraco 7 themes - Pre 22nd May 2018)

Please note. This method is relevant to themes compatible with Umbraco 7.6.4 up until 21st May 2018. If your theme versions was released on 22nd May 2018 and after, please follow this tutorial.

For more information about our Umbraco version support, please refer to our theme page.

You can also find out your theme and Umbraco version from inside the CMS. 

Follow our simple 3-step process to updating the colours through out your uSkinned Umbraco theme.

Step 1

You will need to add your colour scheme to the component colour picker:

Login to CMS > Go to Developer > Expand Data Types > Open USN Color > Remove the existing theme colours and replace with your new colours

Step 2

You will now need to add your new colour in both HEX and RGBA format to the stylesheet in order for it to show on the front end:

Login to CMS > Go to Settings > Expand Stylesheets > Open palette

Login to CMS > Go to Settings > Expand Stylesheets > Open layout

Step 3

You should now combine both elements that you've worked on to create your colour combinations. Both the heading and text colour are chosen based on the background colour that is selected by a user in the CMS. This method of preset combinations will help to keep a consistent feel to your website and make it easier for content editors to manage.

Please note that the HEX code is case sensitive and should be entered in lowercase.

Go to your Umbraco solutions location > App_Code > USNHelpers > USNViewTemplateHelper.cs Add the new colour and class references

Find this code and amend to include your new colour palette:

settings.BackGroundStyle = "YOUR BACKGROUND COLOUR CLASS";
settings.HeadingStyle = "HEADING COLOUR CLASS";
settings.TextStyle = "TEXT COLOUR CLASS";
case "ed6d19":
settings.BackGroundStyle = "c1-bg";
settings.HeadingStyle = "c5-text";
settings.TextStyle = "c4-text";

This code also:

settings.ButtonStyle = "BUTTON COLOUR CLASSES";
case "ffffff":
settings.ButtonStyle = "c5-bg c1-text";


You will now see your new colour scheme in the front end of your website and the back office of Umbraco CMS :)

Get started today

Join thousands of agencies, freelancers, enterprises & start ups worldwide who use uSkinned Site Builder for Umbraco to deliver results.

NEW Site Builder!

We have launched a brand new, game-changing product for Umbraco CMS.