Table of Contents

Class RGB

Namespace
Radzen.Blazor.Rendering
Assembly
Radzen.Blazor.dll

Class RGB.

public class RGB
Inheritance
RGB
Inherited Members

Constructors

RGB()

public RGB()

Properties

Alpha

Gets or sets the alpha.

public double Alpha { get; set; }

Property Value

double

The alpha.

Blue

Gets or sets the blue.

public double Blue { get; set; }

Property Value

double

The blue.

Green

Gets or sets the green.

public double Green { get; set; }

Property Value

double

The green.

Red

Gets or sets the red.

public double Red { get; set; }

Property Value

double

The red.

Methods

Parse(string)

Parses the specified color.

public static RGB Parse(string color)

Parameters

color string

The color.

Returns

RGB

RGB.

ToCSS()

Converts to css.

public string ToCSS()

Returns

string

System.String.

ToHSV()

Converts to hsv.

public HSV ToHSV()

Returns

HSV

HSV.

ToHex()

Converts to hex.

public string ToHex()

Returns

string

System.String.