JSON Color Palettes

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).

This is the solution to the question here.

By the way, the github author uses an MIT license.

json-colors.vuo (92.9 KB)

Screen Shot 2021-10-25 at 3.10.23 PM.png

5 Likes

Great job :+1:

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).

Now the only problem is for some colours the white text is not visible on light colours ;)

:+1:  

json-colors 1.1.vuo (91.3 KB)

@Bodysoulspirit, I really appreciate the streamlining here.

Here’s a version that switches to dark text based on background color luma.

 

json-colors 1.2.vuo (93.7 KB)

Here’s a version that switches to dark text based on background color luma

Great, love it :clap::wink:

Whoops, color ports in wrong order in the 1.2/luma version, fixed above. (When measuring luma, green is strongest, blue is weakest.)