to_string


Description:

[ Version ( since = "2.12" ) ]
public string to_string ()

Returns a textual specification of this in the hexadecimal form “#rrrrggggbbbb” where “r”, “g” and “b” are hex digits representing the red, green and blue components respectively.

Note:

Use RGBA

The returned string can be parsed by parse.

Parameters:

this

a Color

Returns:

a newly-allocated text string




2022 vala-language.org