Skip to content

color_from_hex

Vašek edited this page Feb 10, 2019 · 3 revisions

color_from_hex

Returns color from the given hex value

Syntax:

color_from_hex(value)
Argument Description
string value Hue of the given color

Returns: Color

Description:

This function returns the color in the standard Color format from value in the hex format.

Example:

Color col = color_from_hex("#FF0000");

This function will set col to 255 0 0 255, which is a red.

Back to Color And Alpha

Clone this wiki locally