<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self):
 """ Get an rgb color tuple according to the probability distribution. Returns: tuple(int, int, int):
 A ``(red, green, blue)`` tuple. Example: (234, 201, 243) """

        if isinstance(self.red, SoftInt):
            red = self.red.get()
        else:
            red = self.red
        if isinstance(self.green, SoftInt):
            green = self.green.get()
        else:
            green = self.green
        if isinstance(self.blue, SoftInt):
            blue = self.blue.get()
        else:
            blue = self.blue
        return (red, green, blue)