Function: x-color-defined-p

x-color-defined-p is a function alias for color-defined-p, defined in faces.el.gz.

This function is obsolete since 30.1; use color-defined-p instead.

Signature

(x-color-defined-p COLOR &optional FRAME)

Documentation

Return non-nil if COLOR is supported on frame FRAME.

COLOR should be a string naming a color (e.g. "white"), or a string specifying a color's RGB components (e.g. "#ff12ec"), or the symbol unspecified.

This function returns nil if COLOR is the symbol unspecified, or one of the strings "unspecified-fg" or "unspecified-bg".

If FRAME is omitted or nil, use the selected frame.

Probably introduced at or before Emacs version 21.1.

Aliases

x-color-defined-p (obsolete since 30.1) viper-color-defined-p (obsolete since 27.1)