KNOWLEDGE BASE

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


Pubblicato: 05 Oct 2021
Data dell'ultima modifica: 31 Jan 2023

Domanda

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

Ambiente

  • Tableau Desktop

Risposta

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 file for details or put the file in [\Documents\My Tableau Repository] folder for testing.  Attachments are on the right-side of the article window.
Con questo articolo hai risolto il problema?