BASE DE CONNAISSANCES

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


Date de publication : 05 Oct 2021
Date de dernière modification : 31 Jan 2023

Question

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

Environnement

  • Tableau Desktop

Réponse

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.
Cet article vous a-t-il permis de résoudre le problème ?