How to create custom color palettes in Tableau and Power BI

This blog will show you how to create a custom color palette for reports that are built-in Tableau and Power BI. Creating custom color palettes can you save you a lot of time, especially if you have a report that has a specific color scheme that needs to be followed.

Below are links that walk you through the steps and show you additional options that can be added to your code.

TableauPower BI
https://help.tableau.com/current/pro/desktop/en-us/formatting_create_custom_colors.htmhttps://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes

HTML

JSON

<color-palette name=”Custom Color Palette” type = “regular”>
<color>#314ccd</color>
<color>#4264fb</color>
<color>#aab7ef</color>
<color>#edf0fd</color>
<color>#273d56</color>
<color>#607d9c</color></color-palette>

<color-palette name=”Transparent” type=”regular”>

<color>#FFFFFF00</color>

</color-palette>

{
“name”: “Custom Color Palette”,
“dataColors”[“#314ccd”,”#4264fb”,”#aab7ef”,”#edf0fd”,”#273d56″,”#607d9c”],
“background”:”#ffffff”,
“foreground”: “#3A6108”,
“tableAccent”: “#568410”
}

Below is a video of me walking you through the steps of implementing them into Tableau and Power BI