palette not shown in texture paint mode
You are using a mask brush which doesn't use colour.

Choosing a colour from the palette only makes sense with brushes that apply colour to an image such as draw. Brushes like smudge, mask and blur don't use colour information so don't see the palette. While the clone brush applies colour it takes the colour from the starting position not the current brush colour, so also doesn't get the palette visible.