For Windows users, your Prefereces.tps file is located in your C:\Users\<username>
Between the workbook tags, you will want to type <preferences></preferences>. Within these preferences tags we will create our initial color palette. I used returns and tabs to make the code easier to read.
To create a regular color palette, type <color-palette name="Name1" type="regular"></color-palette>. You can change the palette name to be something relevant to you. Within these tags we will need to define each color of the color palette. Each color is defined within the following tag:<color>
I like to define ten colors in these palettes and I begin by determining what I want my main or darkest color to be. In this case, Green is the main color, so I’m going to use that as my starting point. I found this website to be extremely helpful in generating the HEX colors for each step in my gradient: http://www.perbang.dk/rgbgradient/. I put in my starting green HEX code and I think going to Light Gray would look nice. I want 10 steps and then click the Make gradient button.
You can see the RGB Gradient colors going from green to gray and the corresponding HEX codes. Type these codes between color tags and your file should look something like this:
Do you want or need help creating a custom color palette to be used in Tableau? Comment below or contact me.
I know there are other things you can specify within this preferences file, but it’s not well documented. Do you know of anything?
Tableau’s knowledge base has the same information, but it doesn’t really help you actually create company colors: http://kb.tableausoftware.com/articles/knowledgebase/creating-custom-color-palettes