Parses a textual representation of a color.
The string can be either one of:
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 percentage values in the range 0% to 100%, and a is a floating point value in the range 0 to 1. The range for “h” is 0 to 360, and “s”, “l” can be either numbers in the range 0 to 100 or percentages.
| this |
the `GdkRGBA` to fill in |
| spec |
the string specifying the color |
|
true if the parsing succeeded |