setColor funtion to Utils