dynamic lastcolor colouring