Function: ps-color-values

ps-color-values is a function alias for color-values, defined in faces.el.gz.

This function is obsolete since 28.1; use color-values instead.

Signature

(ps-color-values COLOR &optional FRAME)

Documentation

Return a description of the color named COLOR 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").

Return a list of three integers, (RED GREEN BLUE), each between 0 and 65535 inclusive. Use color-name-to-rgb if you want RGB floating-point values normalized to 1.0.

If FRAME is omitted or nil, use the selected frame. If FRAME cannot display COLOR, the value is nil.

COLOR can also be the symbol unspecified or one of the strings
"unspecified-fg" or "unspecified-bg", in which case the
return value is nil.

Aliases

x-color-values (obsolete since 30.1) ps-color-values (obsolete since 28.1)