Custom color palettes in Tableau allow you to create your own color schemes for your visualizations. This can be used to make your visualizations more visually appealing and to communicate your data in a more effective way.


Open Tableau Desktop

Start by opening Tableau Desktop and loading a dataset you want to visualize.


Locate Tableau Repository


Navigate to your Tableau Repository folder. This is usually located under your "Documents" folder.


Open Preferences File

Inside the Tableau Repository, find the "Preferences.tps" file and open it with a text editor like Notepad or any XML editor.


Write XML Code for Custom Palette

In the XML file, write the code to define your custom color palette. You can specify the color using hex codes, RGB values, etc.

<workbook> <preferences> <color-palette name="Classic Red-Black" type="ordered-diverging"> <color>#1e1e1e</color> <color>#383838</color> <color>#565656</color> <color>#777777</color> <color>#9b9b9b</color> <color>#cacaca</color> <color>#fc8375</color> <color>#df513f</color> <color>#d11719</color> <color>#bd1316</color> <color>#9c0824</color> </color-palette> </preferences> </workbook>


Save and Close Preferences File

After editing, save and close the Preferences file.


Restart Tableau

Close Tableau if it's open and restart it to apply the changes.


Access the Edit Colors Dialog

Once you have created a simple chart in Tableau, open the "Edit Colors" dialog box by navigating to the color legend or selecting 'Color'.


Locate Custom Palette

In the color dialog, navigate to the dropdown menu for color palettes. You should see your custom palette listed.


Apply Custom Palette

Select your custom color palette, and apply it to the visualization.

By creating custom color palettes, you can add a touch of personality and creativity to your visualizations.

Want us to Create Custom Color Palettes in Tableau for you?
Use Our Team

By continuing to use this website, you are indicating your consent to our Cookie Policy, which explains how we use cookies to enhance your browsing experience, analyze website traffic, and personalize content.