Header menu logo Plotly.NET

Color Type

Plotly color can be a single color, a sequence of colors, or a sequence of numeric values referencing the color of the colorscale obj

Instance members

Instance member Description

this.Value

Full Usage: this.Value

Returns: obj

extractor

Returns: obj

Static members

Static member Description

Color.fromARGB a r g b

Full Usage: Color.fromARGB a r g b

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

Returns: Color

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

a : int
r : int
g : int
b : int
Returns: Color

Color.fromColorScaleValues c

Full Usage: Color.fromColorScaleValues c

Parameters:
    c : 'a seq

Returns: Color

Values are interpreted relative to color scale

c : 'a seq
Returns: Color

Color.fromColors c

Full Usage: Color.fromColors c

Parameters:
Returns: Color

Color

c : Color seq
Returns: Color

Color.fromHex s

Full Usage: Color.fromHex s

Parameters:
    s : string

Returns: Color

Color from web color (#FFFFFF) or hex representataion (FFFFFF) / (0xFFFFFF)

s : string
Returns: Color

Color.fromKeyword c

Full Usage: Color.fromKeyword c

Parameters:
Returns: Color

Color from a standard web color keyword, e.g. White -> "white" (see //https://www.w3.org/TR/2011/REC-SVG11-20110816/types.html#ColorKeywords)

c : ColorKeyword
Returns: Color

Color.fromRGB r g b

Full Usage: Color.fromRGB r g b

Parameters:
    r : int
    g : int
    b : int

Returns: Color

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

r : int
g : int
b : int
Returns: Color

Color.fromString c

Full Usage: Color.fromString c

Parameters:
    c : string

Returns: Color

Color from a raw string input, no check for correctness performed

c : string
Returns: Color

Type something to start searching.