Image & Canvas
hexRed
$hexRed — Returns the red component (0 to 255) of a six-digit hexadecimal color.
Returns the red component (0 to 255) of a six-digit hexadecimal color.
Syntax
$hexRed[hex]
Parameters
- hex (String, required) — Six-digit hexadecimal color
Return Value
- String.
Usage
$hexRed[hex] → result
Example
$sendMessage[$hexRed[hex]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.