Make properties of color object read-only and add alpha method