Table of Contents

Constructor Color

Namespace
DotNetBrowser.Ui
Assembly
DotNetBrowser.dll

Color(float, float, float, float)

Initializes a new Color instance with the specified channel values.

public Color(float red, float green, float blue, float alpha = 1)

Parameters

red float

The red channel value.

green float

The green channel value.

blue float

The blue channel value.

alpha float

The alpha channel value.

Exceptions

ArgumentOutOfRangeException

thrown when any of the parameters is outside the 0..1 range.