color_parse_hex


Description:


public Color color_parse_hex (string hex)

Attempts to parse a string describing a sRGB color in hexadecimal notation (optionally prefixed with a '#').

Parameters:

hex

a string describing a color in hexadecimal notation

Returns:

a newly allocated color representing hex.


Namespace: Gimp
Package: gimp-3.0