I am assigning each color a numeric value. For example:
Color.red: 12
Color.Blue: 6
I need to find a color between two colors (for example, red and blue). But how? I have tried this,
(Color.red+color.blue)/2=> (12 + 6)/2 = 9
9 corresponds to Color.yellow