add color conversion functions to utils::cocos
renamed "to_XY" into "toXY" in utils::cocos