code: def rgb(self):
          
          (red, green, blue) = self.raw
  
          return (min(int((red * 255) / self.red_max), 255),
                  min(int((green * 255) / self.green_max), 255),
                  min(int((blue * 255) / self.blue_max), 255))
docs: Same as raw() but RGB values are scaled to 0-255