Class
Hsv

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class Hsv : IColorFormatBase

Inheritance: objectHsv

Implements: IColorFormatBase

Constructors

Hsv(decimal, decimal, decimal, decimal)

Declaration

cs-api-definition
public Hsv(decimal h, decimal s, decimal v, decimal a = 1)

Parameters

h

decimal

s

decimal

v

decimal

a

decimal

Properties

A

Declaration

cs-api-definition
public decimal A { get; set; }

Property Value

decimal

H

Declaration

cs-api-definition
public decimal H { get; set; }

Property Value

decimal

S

Declaration

cs-api-definition
public decimal S { get; set; }

Property Value

decimal

V

Declaration

cs-api-definition
public decimal V { get; set; }

Property Value

decimal

Methods

ToCss(bool)

Declaration

cs-api-definition
public string ToCss(bool includeOpacity = true)

Parameters

includeOpacity

bool

Returns

string

Implements IColorFormatBase.ToCss(bool)

ToHex()

Declaration

cs-api-definition
public Hex ToHex()

Returns

Hex

Implements IColorFormatBase.ToHex()

ToHsva()

Declaration

cs-api-definition
public Hsv ToHsva()

Returns

Hsv

Implements IColorFormatBase.ToHsva()

ToRgba()

Declaration

cs-api-definition
public Rgb ToRgba()

Returns

Rgb

Implements IColorFormatBase.ToRgba()