classRGBColor(Photoshop):"""The definition of an RGB color mode."""object_name="RGBColor"def__init__(self,parent):super().__init__(parent=parent)self.blue=self.app.blueself.green=self.app.greenself.red=self.app.red@propertydefblue(self)->int:returnround(self.app.blue)@blue.setterdefblue(self,value:int):self.app.blue=value@propertydefgreen(self)->int:returnround(self.app.green)@green.setterdefgreen(self,value:int):self.app.green=value@propertydefred(self)->int:returnround(self.app.red)@red.setterdefred(self,value:int):self.app.red=value@propertydefhexValue(self):returnself.app.hexValue@hexValue.setterdefhexValue(self,value):self.app.hexValue=valuedef__str__(self):returnf"[red: {self.red}, green:{self.green}, blue:{self.blue})]"