Header menu logo Plotly.NET

ARGB Type

Represents an ARGB (alpha, red, green, blue) color

Record fields

Record Field Description

A

Full Usage: A

Field type: byte

The alpha component value of this Color structure.

Field type: byte

B

Full Usage: B

Field type: byte

The blue component value of this Color structure.

Field type: byte

G

Full Usage: G

Field type: byte

The green component value of this Color structure.

Field type: byte

R

Full Usage: R

Field type: byte

The red component value of this Color structure.

Field type: byte

Static members

Static member Description

ARGB.create a r g b

Full Usage: ARGB.create a r g b

Parameters:
    a : int
    r : int
    g : int
    b : int

Returns: ARGB

Creates a Argb Color from the four ARGB component (alpha, red, green, and blue) values.

a : int
r : int
g : int
b : int
Returns: ARGB

ARGB.fromHex s

Full Usage: ARGB.fromHex s

Parameters:
    s : string

Returns: ARGB

Gets color from hex representataion (FFFFFF) or (0xFFFFFF)

s : string
Returns: ARGB

ARGB.fromKeyword c

Full Usage: ARGB.fromKeyword c

Parameters:
Returns: ARGB
c : ColorKeyword
Returns: ARGB

ARGB.fromRGB r g b

Full Usage: ARGB.fromRGB r g b

Parameters:
    r : int
    g : int
    b : int

Returns: ARGB

Creates a Argb color from the specified color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque).

r : int
g : int
b : int
Returns: ARGB

ARGB.fromWebHex s

Full Usage: ARGB.fromWebHex s

Parameters:
    s : string

Returns: ARGB

Gets color from web color (#FFFFFF)

s : string
Returns: ARGB

ARGB.toHex prefix c

Full Usage: ARGB.toHex prefix c

Parameters:
    prefix : bool
    c : ARGB

Returns: string

Gets the hex representataion (FFFFFF) of a color (with valid prefix "0xFFFFFF")

prefix : bool
c : ARGB
Returns: string

ARGB.toString c

Full Usage: ARGB.toString c

Parameters:
Returns: string

Converts this Color structure to a human-readable string.

c : ARGB
Returns: string

ARGB.toWebHex c

Full Usage: ARGB.toWebHex c

Parameters:
Returns: string

Gets the web color representataion (#FFFFFF)

c : ARGB
Returns: string

Type something to start searching.