Utility.GetRandomColorDark Method

Generates a dark random color.
Public Shared Function GetRandomColorDark( _ 
ByVal rand As Random, _ 
Optional ByVal mask As Integer = 0xC0C0C0 _ 
) As Color
This language is not supported or no code example is available.
public static Color GetRandomColorDark( 
Random rand
int mask = 0xC0C0C0 
)
This language is not supported or no code example is available.

Parameters

rand
Random

A Random class instance

mask
int

Return Value

Color

The random dark color

.NET Framework

Supported in: 4.8

In this article

Definition