aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorLars Müller <34514239+appgurueu@users.noreply.github.com>2022-04-27 23:00:02 +0200
committerGitHub <noreply@github.com>2022-04-27 17:00:02 -0400
commitfccf1e2eac691443108de8f666d611327dbfcfb3 (patch)
tree9e9657c4204af0ba857692208e117c398de5300a /src/util
parent480d5f2d51ca8f7c4400b0918bb53b776e4ff440 (diff)
downloadminetest-fccf1e2eac691443108de8f666d611327dbfcfb3.tar.gz
minetest-fccf1e2eac691443108de8f666d611327dbfcfb3.tar.bz2
minetest-fccf1e2eac691443108de8f666d611327dbfcfb3.zip
Support CSS Color Module Level 4 (#12204)
Diffstat (limited to 'src/util')
-rw-r--r--src/util/string.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/string.cpp b/src/util/string.cpp
index 39cd44667..b805b2f78 100644
--- a/src/util/string.cpp
+++ b/src/util/string.cpp
@@ -494,6 +494,7 @@ const static std::unordered_map<std::string, u32> s_named_colors = {
{"plum", 0xdda0dd},
{"powderblue", 0xb0e0e6},
{"purple", 0x800080},
+ {"rebeccapurple", 0x663399},
{"red", 0xff0000},
{"rosybrown", 0xbc8f8f},
{"royalblue", 0x4169e1},