Carbon


Color Constants

Header: Quickdraw.h

enum {
    blackColor = 33,
    whiteColor = 30,
    redColor = 205,
    greenColor = 341,
    blueColor = 409,
    cyanColor = 273,
    magentaColor = 137,
    yellowColor = 69
};

Constant descriptions

blackColor

Represents black.

whiteColor

Represents white.

redColor

Represents red.

greenColor

Represents green.

blueColor

Represents blue.

cyanColor

Represents cyan.

magentaColor

Represents magenta.

yellowColor

Represents yellow.

These constants are used in the color parameter of the ForeColor and BackColor functions to specify one of the eight basic QuickDraw colors.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)