changeColor function for change the color property of light colors

Because we declare color property to white to every color tile, I create a function that will change the color property of light colors to a darker value to improve legibility.