Class RGBA
A structure holding an RGBA color.
public sealed record RGBA : IEquatable<RGBA>
- Inheritance
-
RGBA
- Implements
- Inherited Members
Constructors
RGBA(long, long, long)
A structure holding an RGBA color.
public RGBA(long R, long G, long B)
Parameters
RlongThe red component, in the [0-255] range.
GlongThe green component, in the [0-255] range.
BlongThe blue component, in the [0-255] range.
Properties
A
The alpha component, in the [0-1] range (default: 1).
public double? A { get; init; }
Property Value
B
The blue component, in the [0-255] range.
public long B { get; init; }
Property Value
G
The green component, in the [0-255] range.
public long G { get; init; }
Property Value
R
The red component, in the [0-255] range.
public long R { get; init; }