Summary
A collection of Color related resources.
- Namespace
- Faker
- Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["Color"]
class Type type-node
Syntax
public static class Color
Methods
| Name | Value | Summary |
|---|---|---|
| AlphaChannel |
double |
Generates a random alpha value. (Random
double between 0 and 1).
static
|
| HexColor |
string |
Generates Hex Color
static
|
| HSL |
double[] |
Generates an array of HSL values.
static
|
| HSLA |
double[] |
Generates an array of HSL values with alpha channel.
static
|
| RGB |
byte[] |
Generates a byte array of RGB values.
static
|
| SingleHSL |
double |
Generates a single hsl value. (Random
double between 0 and 360.
static
|
| SingleRGB |
byte |
Generates a single rgb value.
static
|