new $k.Color(hexString)
Constructs a color that represents the specified hex string
| Name | Type | Description |
|---|---|---|
hexString |
string |
hex string |
Throws:
| Type | Description |
|---|---|
| $k.exception.InvalidValue | If the parameter is not an valid hex string The value of a color attribute. |
Methods
equals() : boolean
Returns true if the values are equal
Returns:
| Type | Description |
|---|---|
| boolean |
toHexString() : string
Returns the hex string representation
Returns:
| Type | Description |
|---|---|
| string |
toString() : string
Returns the string representation
Returns:
| Type | Description |
|---|---|
| string |