<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def rgb_to_hsv(self,RGB):
        "linear rgb to hsv"
        gammaRGB = self._gamma_rgb(RGB)
        return self._ABC_to_DEF_by_fn(gammaRGB,rgb_to_hsv)