code: def get_rgb_hex(self):
          
          rgb_r, rgb_g, rgb_b = self.get_upscaled_value_tuple()
          return '#%02x%02x%02x' % (rgb_r, rgb_g, rgb_b)
docs: Converts the RGB value to a hex value in the form of: #RRGGBB
  
          :rtype: str