Status XParseColor(display, colormap, spec, exact_def_return)
Display *display;
Colormap colormap;
char *spec;
XColor *exact_def_return;
| display | Specifies the connection to the X server. |
| colormap | Specifies the colormap. |
| spec | Specifies the color name string; case is ignored. |
| exact_def_return | Returns the exact color value for later use and sets the DoRed , DoGreen , and DoBlue flags. |
XParseColor() can generate a BadColor error.
| BadColor | A value for a Colormap argument does not name a defined Colormap. |