Mini-graph-card dynamic color, different colors on multiple series in same graph

Does anyone know if it’s possible to use the dynamic line color on a graph with multiple series plotted, where each needs different thresholds and different colors?

E.g. one graph with two (or more) lines, line1 is green below 100, orange from 100-400 and red above 400, and line2 being blue below 150, purple from 150-200, burgundy from 200-300 and black above 300?