22 OF_ASSUME_NONNULL_BEGIN
30 #ifdef OF_HAVE_CLASS_PROPERTIES 33 @property (
class, readonly, nonatomic)
OFColor *
gray;
34 @property (
class, readonly, nonatomic)
OFColor *
grey 35 OF_DEPRECATED(ObjFW, 1, 1,
"Use gray instead");
38 @property (
class, readonly, nonatomic)
OFColor *
red;
42 @property (
class, readonly, nonatomic)
OFColor *
lime;
45 @property (
class, readonly, nonatomic)
OFColor *
navy;
46 @property (
class, readonly, nonatomic)
OFColor *
blue;
47 @property (
class, readonly, nonatomic)
OFColor *
teal;
48 @property (
class, readonly, nonatomic)
OFColor *
aqua;
61 + (instancetype)colorWithRed: (
float)
red 102 + (
OFColor *)
grey OF_DEPRECATED(ObjFW, 1, 1,
"Use gray instead");
232 - (instancetype)initWithRed: (
float)
red 245 - (void)getRed: (
float *)
red 248 alpha: (nullable
float *)alpha;
251 OF_ASSUME_NONNULL_END
OFColor * gray()
Returns the HTML color gray.
OFColor * lime()
Returns the HTML color lime.
OFColor * grey()
Returns the HTML color gray.
Definition: OFColor.m:133
A class for storing a color.
Definition: OFColor.h:29
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
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.