cv2 python hls to rgb code example Example: cv2 convert to rgb im_rgb = cv2.cvtColor(im_cv, cv2.COLOR_BGR2RGB)