Constructor Color
Color(byte, byte, byte, byte)
Constructs a new Color from the given rgba values.
[JsonConstructor]
public Color(byte red, byte green, byte blue, byte alpha = 255)
Parameters
redbyteThe red value.
greenbyteThe green value.
bluebyteThe blue value.
alphabyteThe alpha value.
Color(float, float, float, float)
Constructs a new Color from the given rgba values.
public Color(float red, float green, float blue, float alpha = 1)