UniqueAvatarColorHueFromId(Color, Int32, Single) Method

Set hue of a color based on ID.

Definition

Namespace: Alteruna.Multiplayer
Assembly: Alteruna (in Alteruna.dll) Version: 2.0.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
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