Update color_conversions.py

Faster and more accurate calculations.

I put variables inline where is use - I think it is good pattern to not define constant in distant files like configurations since it is not configuration.