How to Set Custom Color Palette Code (in Hexadecimal Value or Rgb Format)
發佈時間 : 05 Oct 2021 上次修改日期 : 31 Jan 2023
問題
How do I set the custom palette in RGB or hexadecimal format in Tableau Desktop?
環境
Tableau Desktop
答案
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: 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.