Type Property

lightGray

Returns a color object whose grayscale value is 2/3 and whose alpha value is 1.0.

Declaration

class var lightGray: NSColor { get }

Return Value

The NSColor object.

See Also

Fixed Colors

class var black: NSColor

Returns a color object whose grayscale value is 0.0 and whose alpha value is 1.0.

class var blue: NSColor

Returns a color object whose RGB value is 0.0, 0.0, 1.0 and whose alpha value is 1.0.

class var brown: NSColor

Returns a color object whose RGB value is 0.6, 0.4, 0.2 and whose alpha value is 1.0.

class var cyan: NSColor

Returns a color object whose RGB value is 0.0, 1.0, 1.0 and whose alpha value is 1.0.

class var darkGray: NSColor

Returns a color object whose grayscale value is 1/3 and whose alpha value is 1.0.

class var gray: NSColor

Returns a color object whose grayscale value is 0.5 and whose alpha value is 1.0.

class var green: NSColor

Returns a color object whose RGB value is 0.0, 1.0, 0.0 and whose alpha value is 1.0.

class var magenta: NSColor

Returns a color object whose RGB value is 1.0, 0.0, 1.0 and whose alpha value is 1.0.

class var orange: NSColor

Returns a color object whose RGB value is 1.0, 0.5, 0.0 and whose alpha value is 1.0.

class var purple: NSColor

Returns a color object whose RGB value is 0.5, 0.0, 0.5 and whose alpha value is 1.0.

class var red: NSColor

Returns a color object whose RGB value is 1.0, 0.0, 0.0 and whose alpha value is 1.0.

class var white: NSColor

Returns a color object whose grayscale and alpha values are both 1.0.

class var yellow: NSColor

Returns a color object whose RGB value is 1.0, 1.0, 0.0 and whose alpha value is 1.0.