changed colour based upon different widths