Harmonies

Static Class in Zigurous.ColorPro

Declaration

public static class Harmonies

Description

Functions for generating color harmonies.

Extension Methods

MonochromaticCreates a monochromatic harmony of the color, a set of tints and shades formed from the base color.
MonochromaticNonAllocCreates 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.
AnalogousCreates an analogous harmony of the color, a set of colors located next to each other on the color wheel.
AnalogousNonAllocCreates 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.
ComplementaryCreates a complementary harmony of the color, two colors located opposite to each other on the color wheel.
ComplementaryNonAllocCreates 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.
SplitComplementaryCreates a split complementary harmony of the color, the base color with two colors adjacent to the directly opposing color on the color wheel.
SplitComplementaryNonAllocCreates 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.
DoubleSplitComplementaryCreates a double split complementary harmony of the color, two pairs of complementary colors on either side of the base color.
DoubleSplitComplementaryNonAllocCreates 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.
TriadicCreates a triadic harmony of the color, three colors evenly spaced around the color wheel to form a triangle (120° hue shifts).
TriadicNonAllocCreates 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.
SquareCreates a tetradic (square) harmony of the color, four colors evenly spaced around the color wheel to form a square (90° hue shifts).
SquareNonAllocCreates 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.