Mixing.Tones<T>
Extension Method in Mixing
Declaration
public static Color[] Tones<T>(this Color color, int amount)
where T : struct, IComponentModel
Description
Generates a given amount of tones from the base color.
Type Parameters
T | The type of component model to use. |
Parameters
color | The base color to generate new colors from. |
amount | The amount of tones to generate. |
Returns
Color[] | An array of tones. |