Color
    Preparing search index...

    Function splitComplement

    • Determine the split complementary colors of the given color.

      Parameters

      • color: Readonly<Hsi>

        The color to find the split complements of in HSI.

      • Optionalsubdivisions: number

        The number of slices to divide the color wheel into.

      Returns [[number, number, number] & Hsi, [number, number, number] & Hsi]

      The complements of the given color.

    • Determine the split complementary colors of the given color.

      Parameters

      • color: Readonly<Hsl>

        The color to find the split complements of in HSL.

      • Optionalsubdivisions: number

        The number of slices to divide the color wheel into.

      Returns [[number, number, number] & Hsl, [number, number, number] & Hsl]

      The complements of the given color.

    • Determine the split complementary colors of the given color.

      Parameters

      • color: Readonly<Hsv>

        The color to find the split complements of in HSV.

      • Optionalsubdivisions: number

        The number of slices to divide the color wheel into.

      Returns [[number, number, number] & Hsv, [number, number, number] & Hsv]

      The complements of the given color.