def color(self, n):
        """Color of pixel that reached limit after n iterations.

        Returns a color tuple for use with PIL, tending toward
        red as we tend toward self.max_iter iterations.
        """
        red = int(n * self.shade_factor)
        if (red > 255):
            red = 255
        return (red, 50, 100)
Color of pixel that reached limit after n iterations.

        Returns a color tuple for use with PIL, tending toward
        red as we tend toward self.max_iter iterations.