3 Replies Latest reply on Mar 27, 2017 11:52 PM by Norbert Maijoor

    Limit to 20 colors in color palette? Naming colors?

    maranke.wieringa

      Hello!

       

      I've created a custom color palette to distinguish between various items (28 political parties). While my color palette does show up, I have two problems.

      1) 8 of my 28 colors are not showing up - is there a hard limit of 20 colors or something?

      2) I apparently can't name my colors using the name="" strategy. How can I name them so that it shows up on the tooltip in Tableau's color palette window (I really don't want to memorize 28 colors)?

       

      Code (arrow brackets are replaced):

      (?xml version='1.0'?)

       

       

      (workbook)

        (preferences)

        (color-palette name="Partijen" type="regular")

        (color name="PvdA")#880000(/color) (!-- PvdA --)

        (color name="VVD")#ff6000(/color) (!-- VVD --)

        (color name="GL")#0cff00(/color) (!-- GL --)

        (color name="D66")#2f9b00(/color) (!-- D66 --)

        (color name="SP")#ff0000(/color) (!-- SP --)

        (color name="CU")#00ffe4(/color) (!-- CU --)

        (color name="PvdD")#00ff5a(/color) (!-- PvdD --)

        (color name="50+")#d800ff(/color) (!-- 50+ --)

        (color name="PVV")#000cff(/color) (!-- PVV --)

        (color name="DBB")#fffc00(/color) (!-- DBB --)

        (color name="PP")#ff009c(/color) (!-- PP --)

        (color name="SGP")#ffb245(/color) (!-- SGP --)

        (color name="MenS/Bip")#fe82ff(/color) (!-- MenS/Bip --)

        (color name="FvD")#ff5a5a(/color) (!-- FvD --)

        (color name="NW")#8Bf3ff(/color) (!-- NW --)

        (color name="LidK")#fff88b(/color) (!-- LidK--)

        (color name="A1")#c1814c(/color) (!-- A1 --)

        (color name="VNL")#00b4ff(/color) (!-- VNL --)

        (color name="Denk")#006c99(/color) (!-- Denk --)

        (color name="LP")#07bf62(/color) (!-- LP --)

        (color name="StemNL")#9e5900(/color) (!-- StemNL --)

        (color name="VP")#9fff41(/color) (!-- VP --)

        (color name="GP")#2c4ab7(/color) (!-- GP --)

        (color name="NS")#83326b(/color) (!-- NS --)

        (color name="OP")#266723(/color) (!-- OP --)

        (color name="JL")#490024(/color) (!-- JL --)

        (color name="VDP")#c288fd(/color) (!-- VDP --)

        (color name="CDA")#afffb8(/color) (!-- CDA --)

        (/color-palette)

        (/preferences)

      (/workbook)