Search
Preparing search index...
The search index is not available
@mavenomics/coreutils
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Color
Class Color
Hierarchy
Color
Index
Constructors
constructor
Properties
_color
Rgba
_color
String
Accessors
color
hex
hsl
rgb
Constructors
constructor
new
Color
(
obj
:
string
|
[
number
,
number
,
number
,
undefined
|
number
]
)
:
Color
Parameters
obj:
string
|
[
number
,
number
,
number
,
undefined
|
number
]
Returns
Color
Properties
Private
_color
Rgba
_color
Rgba
:
number
[]
= [255, 255, 255, 1]
Private
_color
String
_color
String
:
string
= "white"
Accessors
color
get
color
(
)
:
any
set
color
(
color
:
any
)
:
void
Returns
any
Parameters
color:
any
Returns
void
hex
get
hex
(
)
:
string
Returns
string
hsl
get
hsl
(
)
:
string
Returns
string
rgb
get
rgb
(
)
:
string
Returns
string
Globals
Color
constructor
_color
Rgba
_color
String
color
hex
hsl
rgb
Generated using
TypeDoc