def _negativebw(self):
        u"""
        
        The ``c.negativebw`` returns white Color if the color is dark, and  black if color is light.
        
        """
        # v = self.r*self.bwrgb[0] + self.g*self.bwrgb[1] + self.b*self.bwrgb[2]
        if 1 < self.negative:
            c = '#ffffff'
        else:
            c = '#000000'
        return Color(c, self.format)
dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/toolbox/coloring.py/Color._negativebw/swapped operands of `<`