Next: , Previous: , Up: Colors   [Contents][Index]


49.3.2 Color Instances

A color-instance object is an object describing the way a color specifier is instanced in a particular domain. Functions such as face-background-instance return a color-instance object. For example,

(face-background-instance 'default (next-window))
    ⇒ #<color-instance moccasin 47=(FFFF,E4E4,B5B5) 0x678d>

The color-instance object returned describes the way the background color of the default face is displayed in the next window after the selected one.

Function: color-instance-p object

This function returns non-nil if object is a color-instance.