Harmonies.SplitComplementaryNonAlloc
Extension Method in Harmonies
Declaration
public static void SplitComplementaryNonAlloc(this Color baseColor, Color[] output, 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. The colors are stored in an existing array to prevent heap allocations.
Parameters
baseColor | The base color to create the harmony from. |
output | The output array to store the colors in. |
variance | The amount of variance in tints and shades when generating more than 3 colors [0..1] (default=0.25). |