Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## effective-foreground-color

Arguments: object &key base-color scratch-rgb

Returns the color returned by foreground-color for object if that function returns a color (rather than `nil`). The value will be an RGB color, as returned by make-rgb.

If the scratch-rgb argument is specified, it should be a RGB object which will be modified to be the effective foreground color. This avoids consing a new RGB object.

The base-color argument is used internally and should not be specified by applications.

If foreground-color returns `nil`, effective-foreground-color returns the color returned by default-foreground-color for object. (As of 5.0, foreground-color returns `nil` when no foreground color has been explicitly assigned to an object.)

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version