class Color
Type-safe definition of CSS color.
(js)
<init> |
Type-safe definition of CSS color. Color(color: String? = null) |
(js)
color |
CSS color string val color: String? |
(js)
asString |
fun asString(): String |
(js)
toString |
fun toString(): String |
(js)
hex |
Creates CSS Color with color given in hex format. fun hex(color: Int): Color |
(js)
name |
Creates CSS Color with color given with named constant. fun name(color: Col): Color |