Table of Contents

Class RGBA

Namespace
Selenium.WebDriver.BiDi.Cdp.DOM
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

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

R long

The red component, in the [0-255] range.

G long

The green component, in the [0-255] range.

B long

The 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

double?

B

The blue component, in the [0-255] range.

public long B { get; init; }

Property Value

long

G

The green component, in the [0-255] range.

public long G { get; init; }

Property Value

long

R

The red component, in the [0-255] range.

public long R { get; init; }

Property Value

long