added functions to convert between color spaces.
working with value position.