inlined functions in ColorConversion.h