summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdimension/color.c7
-rw-r--r--libdimension/dimension/color.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/libdimension/color.c b/libdimension/color.c
index 8712938..eee1f0e 100644
--- a/libdimension/color.c
+++ b/libdimension/color.c
@@ -69,6 +69,13 @@ const dmnsn_color dmnsn_magenta = {
.filter = 0.0,
.trans = 0.0
};
+const dmnsn_color dmnsn_orange = {
+ .R = 1.0,
+ .G = 0.5,
+ .B = 0.0,
+ .filter = 0.0,
+ .trans = 0.0
+};
const dmnsn_color dmnsn_yellow = {
.R = 1.0,
.G = 1.0,
diff --git a/libdimension/dimension/color.h b/libdimension/dimension/color.h
index 1588ab3..9e47282 100644
--- a/libdimension/dimension/color.h
+++ b/libdimension/dimension/color.h
@@ -64,7 +64,7 @@ typedef struct {
/* Standard colors */
extern const dmnsn_color dmnsn_black, dmnsn_white, dmnsn_red, dmnsn_green,
- dmnsn_blue, dmnsn_magenta, dmnsn_yellow, dmnsn_cyan;
+ dmnsn_blue, dmnsn_magenta, dmnsn_orange, dmnsn_yellow, dmnsn_cyan;
/* Standard whitepoint, determined by the conversion of sRGB white to CIE XYZ */
extern const dmnsn_CIE_XYZ dmnsn_whitepoint;