red
,
green
, and
blue
fields of a
gdkColormapAllocColor
yourself.
The text string can be in any of the forms accepted
by xparsecolor
; these include
name for a color from DarkSlateGray
, or a hex specification
such as #3050b2
or #35b
.gdkColorParse(spec)