def make_triadic_scheme(self, angle=<NUM_LIT>, mode='<STR_LIT>'):
h, s, l = self.__hsl<EOL>angle = min(angle, <NUM_LIT>) / <NUM_LIT><EOL>if mode == '<STR_LIT>': h = rgb_to_ryb(h)<EOL>h += <NUM_LIT><EOL>h1 = (h - angle) % <NUM_LIT><EOL>h2 = (h + angle) % <NUM_LIT><EOL>if mode == '<STR_LIT>':<EOL><INDENT>h1 = ryb_to_rgb(h1)<EOL>h2 = ryb_to_rgb(h2)<EOL><DEDENT>return (<EOL>Color((h1, s,  l), '<STR_LIT>', self.__a, self.__wref),<EOL>Color((h2, s,  l), '<STR_LIT>', self.__a, self.__wref))<EOL>
Return two colors forming a triad or a split complementary with this one.

        Parameters:
          :angle:
            The angle between the hues of the created colors.
            The default value makes a triad.
          :mode:
            Select which color wheel to use for the generation (ryb/rgb).

        Returns:
          A tuple of two grapefruit.Color forming a color triad with
          this one or a split complementary.

        >>> c1 = Color.from_hsl(30, 1, 0.5)

        >>> c2, c3 = c1.make_triadic_scheme(mode='rgb')
        >>> c2.hsl
        (150.0, 1.0, 0.5)
        >>> c3.hsl
        (270.0, 1.0, 0.5)

        >>> c2, c3 = c1.make_triadic_scheme(angle=40, mode='rgb')
        >>> c2.hsl
        (190.0, 1.0, 0.5)
        >>> c3.hsl
        (230.0, 1.0, 0.5)