Transforming a color in hexa representation using following function:
private
This function transform a Color (defined