Package: gdk
Function gdk-rgba-parse
Lambda Listgdk-rgba-parse (str) ArgumentsReturn ValueA gdk-rgba color with the filled in values. Details
Parses a textual representation of a color, and returns a RGBA instance filling in the red, green, blue and alpha
fields.
The string can be either one of:
Example
(gdk-rgba-parse "LightGreen")
=> #S(GDK-RGBA
:RED 0.5647058823529412d0
:GREEN 0.9333333333333333d0
:BLUE 0.5647058823529412d0
:ALPHA 1.0d0)
(gdk-rgba-parse "#90ee90")
=> #S(GDK-RGBA
:RED 0.5647058823529412d0
:GREEN 0.9333333333333333d0
:BLUE 0.5647058823529412d0
:ALPHA 1.0d0) | See also |
*2021-12-15