Preparing search index...
The search index is not available
sparkengineweb
sparkengineweb
Rgb
Class Rgb
Implements
RgbProps
Index
Constructors
constructor
Accessors
b
g
r
Methods
to
Json
to
Rgba
String
from
Hex
from
Rgb
Constructors
constructor
new
Rgb
(
r
?
,
g
?
,
b
?
)
:
Rgb
Parameters
r
:
number
= 0
g
:
number
= 0
b
:
number
= 0
Returns
Rgb
Accessors
b
get
b
(
)
:
number
Returns
number
set
b
(
value
)
:
void
Parameters
value
:
number
Returns
void
g
get
g
(
)
:
number
Returns
number
set
g
(
value
)
:
void
Parameters
value
:
number
Returns
void
r
get
r
(
)
:
number
Returns
number
set
r
(
value
)
:
void
Parameters
value
:
number
Returns
void
Methods
to
Json
to
Json
(
)
:
RgbProps
Returns
RgbProps
to
Rgba
String
to
Rgba
String
(
alpha
?
)
:
string
Parameters
alpha
:
number
= 100
Returns
string
Static
from
Hex
from
Hex
(
hex
)
:
Rgb
Parameters
hex
:
string
Returns
Rgb
Static
from
Rgb
from
Rgb
(
rgb
)
:
Rgb
Parameters
rgb
:
RgbProps
Returns
Rgb
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
b
g
r
Methods
to
Json
to
Rgba
String
from
Hex
from
Rgb
sparkengineweb
Loading...