18 OF_ASSUME_NONNULL_BEGIN
26 #ifdef OF_HAVE_CLASS_PROPERTIES 29 @property (
class, readonly, nonatomic)
OFColor *
grey;
32 @property (
class, readonly, nonatomic)
OFColor *
red;
36 @property (
class, readonly, nonatomic)
OFColor *
lime;
39 @property (
class, readonly, nonatomic)
OFColor *
navy;
40 @property (
class, readonly, nonatomic)
OFColor *
blue;
41 @property (
class, readonly, nonatomic)
OFColor *
teal;
42 @property (
class, readonly, nonatomic)
OFColor *
aqua;
55 + (instancetype)colorWithRed: (
float)
red 215 - (instancetype)initWithRed: (
float)
red 228 - (void)getRed: (
float *)
red 231 alpha: (nullable
float *)alpha;
234 OF_ASSUME_NONNULL_END
OFColor * lime()
Returns the HTML color lime.
OFColor * grey()
Returns the HTML color grey.
A class for storing a color.
Definition: OFColor.h:25
The root class for all other classes inside ObjFW.
Definition: OFObject.h:686
OFColor * silver()
Returns the HTML color silver.
OFColor * maroon()
Returns the HTML color maroon.
OFColor * teal()
Returns the HTML color teal.
OFColor * black()
Returns the HTML color black.
OFColor * olive()
Returns the HTML color olive.
OFColor * white()
Returns the HTML color white.
OFColor * navy()
Returns the HTML color navy.
OFColor * red()
Returns the HTML color red.
OFColor * yellow()
Returns the HTML color yellow.
OFColor * aqua()
Returns the HTML color aqua.
OFColor * green()
Returns the HTML color green.
OFColor * purple()
Returns the HTML color purple.
OFColor * blue()
Returns the HTML color blue.
OFColor * fuchsia()
Returns the HTML color fuchsia.