Harmonies.Triadic
Extension Method in Harmonies
Declaration
public static Color[] Triadic(this Color baseColor, int amount = 3, float variance = 0.25F)Description
Creates a triadic harmony of the color, three colors evenly spaced around the color wheel to form a triangle (120° hue shifts).
Parameters
| baseColor | The base color to create the harmony from. |
| amount | The amount of colors to create (default=3). |
| variance | The 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. |