from_hexadecimal


Description:

public static bool from_hexadecimal (string hexadecimal, out Color color)

Parses hexadecimal and returns a Color describing it in color.

hexadecimal should be in the form <literal>#<replaceable>rr</replaceable><replaceable>gg< /replaceable><replaceable>bb</replaceable></literal>, where <replaceable>rr</replaceable> is a two-digit hexadecimal red intensity value, <replaceable>gg</replaceable> is green and <replaceable>bb</replaceable> is blue. The hash is optional.

Parameters:

hexadecimal

a hexadecimal color string

color

a Color

Returns:

true on success, false otherwise