KNOWLEDGE BASE

Show More Than 20 Colors in Edit Color Dialog


Published: 07 May 2015
Last Modified Date: 28 May 2020

Issue

In the Edit Color dialog, only the first 20 colors in a palette appear.
  1. In the Color Legend, select the drop-down in the upper-right hand corner
  2. Select Edit Colors
  3. In the pop-up dialog only 20 colors will appear in the color palette, even if there are over 20 available colors in the palette

Environment

  • Tableau Desktop

Resolution

Option 1. Split the Palette
Split the color palette into multiple custom color palettes of no more than 20 colors 
Example:
<preferences>
        <color-palette name="My Categorical Palette 1" type="regular">
        <color>#eb912b</color>
        <color>#7099a5</color> ....
        </color-palette>
       <color-palette name="My Categorical Palette 2" type="regular">
        <color>#FFFFFF</color>
        <color>#FFFAFA</color> ....
        </color-palette>
</preferences>

See the article on Creating Custom Color Palettes

Option 2. Auto-Assign the palette
While only 20 colors may appear, all colors exist in the palette and will be assigned when using the Assign Palette option in the Edit Colors dialog.

Cause

By design, Tableau will not show more than 20 colors in the edit colors dialog.
Did this article resolve the issue?