bugfix: start scale at right color
bugfix: crash when using fractions
Make cmake colouring work with fractions