The following example shows how to do this. The goal is to bring on the color shelf, the [MeasureNames] and the '[MeasureColorLogic]' (Ctrl and right drag).
Then set the colors accordingly in the Color Legend.
:note that the color legend becomes useless but you can always create an image an bring it on a dashboard.
CustomColorPerMeasurePerValue.twbx 964.1 KB
This is exactly what I needed! Much thanks, Michel!!!!