How can I set it so each time my segment is turned on it chooses a random color? I can go it on the gui, but not sure of the syntax to do it in the json code.
You can’t.
workaround: create a few presets with different colors, make a playlist with those in random order, load that playlist.