def complementary_color(self, mode='<STR_LIT>'):
h, s, l = self.__hsl<EOL>if mode == '<STR_LIT>': h = rgb_to_ryb(h)<EOL>h = (h+<NUM_LIT>)%<NUM_LIT><EOL>if mode == '<STR_LIT>': h = ryb_to_rgb(h)<EOL>return Color((h, s, l), '<STR_LIT>', self.__a, self.__wref)<EOL>
Create a new instance which is the complementary color of this one.

        Parameters:
          :mode:
            Select which color wheel to use for the generation (ryb/rgb).


        Returns:
          A grapefruit.Color instance.

        >>> Color.from_hsl(30, 1, 0.5).complementary_color(mode='rgb')
        Color(0.0, 0.5, 1.0, 1.0)
        >>> Color.from_hsl(30, 1, 0.5).complementary_color(mode='rgb').hsl
        (210.0, 1.0, 0.5)