Set the colour of the ruler hover marker to the correct palette colour