fixing some things: make the 'type' param to the color constructor actualy work.