summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gabriel <contact@johngabriel.co.uk>2019-05-24 19:26:08 +0100
committerJohn Gabriel <contact@johngabriel.co.uk>2019-05-24 20:37:40 +0100
commit58279eda27070bc72c7c1aabd83a2668eea48069 (patch)
tree7be2cf81c239d84c72d98507fc1cfa2e1f741cc9
parent71c784f796b87af0da239e70d1328677133c30e0 (diff)
Add "transparent" to named color list
-rw-r--r--core/color_names.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/color_names.inc b/core/color_names.inc
index e126bfe0f8..b0ef507d92 100644
--- a/core/color_names.inc
+++ b/core/color_names.inc
@@ -143,6 +143,7 @@ static void _populate_named_colors() {
_named_colors.insert("thistle", Color(0.85, 0.75, 0.85));
_named_colors.insert("tomato", Color(1.00, 0.39, 0.28));
_named_colors.insert("turquoise", Color(0.25, 0.88, 0.82));
+ _named_colors.insert("transparent", Color(1.00, 1.00, 1.00, 0.00));
_named_colors.insert("violet", Color(0.93, 0.51, 0.93));
_named_colors.insert("wheat", Color(0.96, 0.87, 0.70));
_named_colors.insert("white", Color(1.00, 1.00, 1.00));