|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| num.hexToColor(HTMLcolor) |
Parameters
| HCOLOR | HTMLcolor | HTML color (#RRGGBB or RRGGBB). |
Return value
Description
Returns the color number for an HTML color.
The returned value can be used with all the drawing functions (draw...).
See also: num.colorToHex
To convert only one color channel (2 bytes): num.fromHex, num.toHex
Note: This function is defined in the library klib.k and is linked automatically. |
|
|
|