implemented all color conversions