How to quickly build a palette with a lot of colors

The palette I need includes more than 14 types of colors.
I do some searching on the package RColorBrewer. I find the maximum of colors for all palettes is under 14.
Temporally, I just combine palette 'Paired' and 'Set3' into a 24-type palette and use it manually.

    c(
        RColorBrewer::brewer.pal(12,'Paired'),
        RColorBrewer::brewer.pal(12,'Set3')
    )

But there is a new question, the combined palette is not smoothing.
Does anyone dig into this field?

Check this related topic

1 Like

Hi @andresrcs, after a quick reading, I think what you provide is the solution. I am still working on this problem. Thanks for your help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.