Harmonies
Static Class in Zigurous.ColorPro
Declaration
public static class Harmonies
Description
Functions for generating color harmonies.
Extension Methods
Monochromatic | Creates a monochromatic harmony of the color, a set of tints and shades formed from the base color. |
MonochromaticNonAlloc | Creates a monochromatic harmony of the color, a set of tints and shades formed from the base color. The colors are stored in an existing array to prevent heap allocations. The amount of colors generated is determined by the size of the array. |
Analogous | Creates an analogous harmony of the color, a set of colors located next to each other on the color wheel. |
AnalogousNonAlloc | Creates an analogous harmony of the color, a set of colors located next to each other on the color wheel. The colors are stored in an existing array to prevent heap allocations. The amount of colors generated is determined by the size of the array. |
Complementary | Creates a complementary harmony of the color, two colors located opposite to each other on the color wheel. |
ComplementaryNonAlloc | Creates a complementary harmony of the color, two colors located opposite to each other on the color wheel. The colors are stored in an existing array to prevent heap allocations. |
SplitComplementary | Creates a split complementary harmony of the color, the base color with two colors adjacent to the directly opposing color on the color wheel. |
SplitComplementaryNonAlloc | 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. |
DoubleSplitComplementary | Creates a double split complementary harmony of the color, two pairs of complementary colors on either side of the base color. |
DoubleSplitComplementaryNonAlloc | Creates a double split complementary harmony of the color, two pairs of complementary colors on either side of the base color. The colors are stored in an existing array to prevent heap allocations. |
Triadic | Creates a triadic harmony of the color, three colors evenly spaced around the color wheel to form a triangle (120° hue shifts). |
TriadicNonAlloc | Creates a triadic harmony of the color, three colors evenly spaced around the color wheel to form a triangle (120° hue shifts). The colors are stored in an existing array to prevent heap allocations. |
Square | Creates a tetradic (square) harmony of the color, four colors evenly spaced around the color wheel to form a square (90° hue shifts). |
SquareNonAlloc | Creates a tetradic (square) harmony of the color, four colors evenly spaced around the color wheel to form a square (90° hue shifts). The colors are stored in an existing array to prevent heap allocations. |