new MarkupColor(r, g, b)
Create an instance of Color
Parameters:
Name | Type | Description |
---|---|---|
r |
Red color in [0,255] range |
|
g |
Green color in [0,255] range |
|
b |
Blue color in [0,255] range |
Members
-
HexColor
-
Color in #000000 format
-
RGB
-
Color as object with r,g,b properties
Methods
-
setColor(r, g, b)
-
Set Color for current instance
Parameters:
Name Type Description r
Red color in [0,255] range
g
Green color in [0,255] range
b
Blue color in [0,255] range