4 Replies Latest reply on Jul 23, 2017 4:42 PM by John Motlagh

    How do I name custom colors in a preferences.tps file?

    John Motlagh

      I have a few custom color pallets, but the color names that Tableau pulls don't match the color names. Is there a piece of text that can go on the hex code line to override the default color name?  It looks like tableau pulls the name from a close hue. 

       

      Color request.png

       

      <?xml version='1.0'?>

      <workbook>

      <preferences>

      <color-palette name="Primary Palette" type="regular">

      <color>#FE000C</color>

      <color>#FFFFFF</color> 

      <color>#5A5A5A</color> 

      <color>#000000</color> 

      <color>#0C479D</color> 

      <color>#B5B5B5</color> 

      </color-palette>

       

      <color-palette name="Accent Palette" type="regular">

      <color>#A6192E</color> 

      <color>#F05822</color>  <! -- This should be called Vermillion, not Orange -->

      <color>#ED8B00</color> 

      <color>#F2AC33</color> 

      <color>#FFD700</color> 

      <color>#B4D405</color> 

      <color>#00A14D</color> 

      <color>#00ACAB</color> 

      <color>#007096</color> 

      <color>#00A3E0</color> 

      <color>#002F6C</color> 

      <color>#3A397B</color> 

      <color>#7A4183</color> 

      <color>#BD2F7F</color>   <! -- This should be called Cerise, not Pink-->

      <color>#890C58</color> 

      <color>#D73872</color> 

      </color-palette>