483
483
<p>Parses a textual representation of a color, filling in the <structfield>red</structfield>, <structfield>green</structfield>, <structfield>blue</structfield> and <structfield>alpha</structfield> fields of the <em>rgba</em> struct. </p>
484
<p>The string can be either one of: <itemizedlist> <listitem> A standard name (Taken from the X11 rgb.txt file). </listitem> <listitem> A hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' </listitem> <listitem> A RGB color in the form 'rgb(r,g,b)' (In this case the color will have full opacity) </listitem> <listitem> A <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color.">RGBA</a> color in the form 'rgba(r,g,b,a)' </listitem> </itemizedlist></p>
495
<li>A <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color.">RGBA</a> color in the form 'rgba(r,g,b,a)'</li>
485
497
<p>Where 'r', 'g', 'b' and 'a' are respectively the red, green, blue and alpha color values. In the last two cases, r g and b are either integers in the range 0 to 255 or precentage values in the range 0% to 100%, and a is a floating point value in the range 0 to 1.</p>
486
498
<dl class="since_3_0"><dt><b><a class="el" href="since_3_0.html#_since_3_0000029">Since gtkmm 3.0:</a></b></dt><dd></dd></dl>
487
499
<dl><dt><b>Parameters:</b></dt><dd>