casting the color members