State timeline: randomly assign colors

I built this state timeline for an AJA Kumo video router, where each bar shows the video source number currently routed to each destination. It’s hard to visually distinguish when the state changes because the color doesn’t change. Increasing the “line width” helps somewhat, but what I really want is for Grafana to randomly assign high contrast colors to each visible value. There are 64 possible values, but it’s unlikely all of them would be visible at once, because several of these lines will be in the same state.

I can achieve this by adding 64 separate colors to the Value Mapping, but that’s a lot of work and I also run out of high contrast colors.

I’m using Grafana Cloud with Prometheus

That image was using classic color palette.

With Yellow-Blue (by value) instead, the changes are a little easier to distinguish, but I don’t like this bright yellow color, it’s distracting. And I can’t use red/green because those colors represent “good/bad” to our users.