This composition uses a list of color palettes in JSON format and displays a random palette every few seconds. Colors are from https://github.com/Jam3/nice-color-palettes (in this case the 1000.json file is embedded in the composition).
Another way of splitting up the color codes and reducing the amount of nodes would be with Split Text with " as a separator, and comb the list.
Then unless you want to load the full tree right on start, reduce the amount of Process List to process only the group of colours each time and use the Make Hex Colour in the same process list (28 nodes → 23 nodes).