UniqueAvatarColorHueFromId(Color, Int32, Single) Method

Set hue of a color based on ID.

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public static Color HueFromId(
	Color color,
	int id,
	float saturation
)

Parameters

color  Color
Base color.
id  Int32
Color ID.
saturation  Single
Saturation of returned color.

Return Value

Color
Color with new hue with given saturation and value.

See Also