added ability to set color/image
implemented setColor/setImage in example