Added option to invert colour