Harmonies.Complementary
Extension Method in Harmonies
Declaration
public static Color[] Complementary(this Color baseColor, int amount = 2, float variance = 0.25F)
Description
Creates a complementary harmony of the color, two colors located opposite to each other on the color wheel.
Parameters
baseColor | The base color to create the harmony from. |
amount | The amount of colors to create (default=2). |
variance | The amount of variance in tints and shades when generating more than 2 colors [0..1] (default=0.25). |
Returns
Color[] | An array of colors forming the harmony. |