@classmethod
def get_complementary_color(cls, color):
    """
        Returns the complementary color of the given color
        :param color: QColor
        """
    hsl_hue = color.hslHueF()
    hsl_saturation = color.hslSaturationF()
    lightness = color.lightnessF()
    lightness = 1.0 - lightness
    hsl_hue += 0.5
    if hsl_hue >= 1.0:
        hsl_hue -= 1.0
    return cls.fromHslF(hsl_hue, hsl_saturation, lightness)
