Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## default-background-color

Arguments: object

Returns the default background color for object. This color will be used as the background color when the value of the background-color property is `nil`.

The value must be an RGB color (as returned by make-rgb). Note that the value cannot be an HLS color (as returned by make-hls). If you use HLS colors, apply hls-to-rgb to them before setting this property, and apply rgb-to-hls to get the HLS equivalent of a RGB value.

The built-in methods are specialized on the window class. Thus, for example, the default for `dialog-mixin` is returned by system-dialog-background-color and for `basic-pane` is returned by system-background-color.

Contrast with the built-in method for default-foreground-color, which is the value returned by system-foreground-color whatever the type of window.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version