By: Oliver Linley
Ollie lives in Cape Town, South Africa, and is passionate about all things data - and all things Tableau! If you have a question, feel free to reach out to him directly via email.
Have you ever needed to use your own colors in Tableau? Maybe you need to use your company’s colors, or a brand’s colors, but you’re not sure how to save those colors into Tableau for repeated use.
You absolutely can add your own custom color palettes to Tableau. You’ll need to add some crucial code to the preferences file to do it!
In this tutorial, I’ll walk you through how to add the following:
Regular color palette
Diverging color palette
Sequential color palette
Want help setting up Tableau color palettes? Book an hour with Ollie! Want to dive deep into Tableau? Check out our upcoming Tableau classes!
Resources
You can copy and paste the following directly into your preferences file and modify as needed:
<?xml version='1.0'?>
<workbook>
<preferences>
<color-palette name="Example Regular Palette" type="regular" >
<color>#081C4F</color>
<color>#027FFE</color>
<color>#11C4D4</color>
<color>#19E8E0</color>
<color>#FFFFFF</color>
</color-palette>
<color-palette name="Example Diverging Palette" type="ordered-diverging" >
<color>#760900</color>
<color>#ffffff</color>
<color>#2a5598</color>
</color-palette>
<color-palette name="Example Sequential Palette" type="ordered-sequential" >
<color>#f1f1f1</color>
<color>#4996b2</color>
</color-palette>
</preferences>
</workbook>
Want to keep learning foundational skills in Tableau? Sign up for our weekly newsletter so you never miss new blog posts, videos and events!