The colors can be made to remain constant. You have to go to "Appearance" --> "Colors and Legend" --> Choose "By Expression" --> Enter the condition for fixing the colors for your dimesions (see sample code below):
if(dimension = 'First_Value', blue,
if(dimension = 'Second_Value', black, green))
Hope this helps!