documentationfor yFiles for HTML 2.6

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

Inheritance Hierarchy
Color

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-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.Color

See Also

Constructors

Properties

Methods

Constants

Static Methods