A newly allocated text string.
Returns a textual specification of rgba in the form rgb (r, g, b) or rgba (r, g, b, a), where r, g, b and a represent the red, green, blue and alpha values respectively. r, g, and b are represented as integers in the range 0 to 255, and a is represented as floating point value in the range 0 to 1.
These string forms are string forms those supported by the CSS3 colors module, and can be parsed by the function gdk-rgba-parse.
Note that this string representation may loose some precision, since r, g and b are represented as 8-bit integers. If this is a concern, you should use a different representation.