documentationfor yFiles for HTML 3.0.0.2

Represents an ARGB (alpha, red, green, blue) encoded color object.

Inheritance Hierarchy
Fill
Color
Implemented Interfaces

Remarks

This is a convertible type that can be used with the following notation(s) in parameter lists, parameter objects or setters.

CSS color strings are converted to Colors. For example:

'blue'
'#369'
'#336699'
'rgb(51, 102, 153)'
'rgba(51, 102, 153, 0.5)'
'hsl(225, 98%, 60%)'
'hsla(225, 98%, 60%, 0.5)'

Type Details

yFiles module
view

See Also

Constructors

Properties

Methods

Constants

Static Methods