UtilColorGetRandomColor(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) Method

Generates a random A-RGB color between the specified range of values.

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Color GetRandomColor(
	byte alphaMin,
	byte alphaMax,
	byte redMin,
	byte redMax,
	byte greenMin,
	byte greenMax,
	byte blueMin,
	byte blueMax
)

Parameters

alphaMin  Byte
The Alpha channel minimum value.
alphaMax  Byte
The Alpha channel maximum value.
redMin  Byte
The Red channel minimum value.
redMax  Byte
The Red channel maximum value.
greenMin  Byte
The Green channel minimum value.
greenMax  Byte
The Green channel maximum value.
blueMin  Byte
The Blue channel minimum value.
blueMax  Byte
The Blue channel maximum value.

Return Value

Color
The random Color.

See Also