Returning nil in get_rgb if object nil from user_led