Package: gdk

Function gdk:color-to-string

Lambda List

gdk:color-to-string (color)

Arguments

color -- a gdk:color instance

Return Value

The text string representing color.

Details

Returns a textual specification of color in the hexadecimal form #rrrrggggbbbb, where r, g and b are hex digits representing the red, green and blue components respectively. The returned string can be parsed by the gdk:color-parse function.

Warning

The gdk:color-to-string function has been deprecated since version 3.14 and should not be used in newly written code. Use the gdk:rgba structure.
 

See also

2025-1-15