Color
Description
A simple color class returned from Config::get when the value at the key path is of type 'color'.
API documentation
All methods
.parse(value)
| Argument | Description |
|---|---|
value
|
A String such as |
Return values
-
Returns a Color or
nullif it cannot be parsed.
::toHexString()
Return values
-
Returns a String in the form
'#abcdef'.
::toRGBAString()
Return values
-
Returns a String in the form
'rgba(25, 50, 75, .9)'.