base_h, base_s, base_v = rgb_to_hsv(base_r, base_g, base_b)
target_h, target_s, target_v = rgb_to_hsv(target_r, target_g, target_b)
delta_h, delta_s, delta_v = (target_h - base_h, target_s - base_s, target_v -
    base_v)
Changing the color of an image based on RGB value