KNOWLEDGE BASE

How to Set Custom Color Palette Code (in Hexadecimal Value or Rgb Format)


Published: 05 Oct 2021
Last Modified Date: 06 Oct 2021

Question

How do I set the custom palette in RGB or hexadecimal format in Tableau Desktop?
 

Environment

  • Tableau Desktop

Answer

Use the preferences file to add the custom color.

For RGB format:
  • rgb(0,0,0) -- Lower case, should not be upper case.
For hexadecimal format::
  • #E9C032 (#RRGGBB)
For example, the setting and the displayed color are as follows:
User-added image
You can find out the RGB color code for certain colors here.

Please check the attached [Preferences.tps] for details or put the file in [\Documents\My Tableau Repository] folder for testing
Did this article resolve the issue?