Harmonies.SplitComplementary

Extension Method in Harmonies

Declaration

public static Color[] SplitComplementary(this Color baseColor, int amount = 3, float variance = 0.25F)

Description

Creates a split complementary harmony of the color, the base color with two colors adjacent to the directly opposing color on the color wheel.

Parameters

baseColorThe base color to create the harmony from.
amountThe amount of colors to create (default=3).
varianceThe amount of variance in tints and shades when generating more than 3 colors [0..1] (default=0.25).

Returns

Color[]An array of colors forming the harmony.