[python] Add magenta color

Change-Id: I7a5e12f6f3d79da802149a6aeef88387941ccdd8
This commit is contained in:
Hugo Saint-Vignes
2020-08-03 17:58:36 +02:00
committed by EmilieNumworks
parent 0b683b6994
commit 7eb694822d

View File

@@ -202,7 +202,8 @@ KDColor MicroPython::Color::Parse(mp_obj_t input, Mode mode){
NamedColor("orange", Palette::Orange),
NamedColor("purple", Palette::Purple),
NamedColor("grey", Palette::GreyDark),
NamedColor("cyan", Palette::Cyan)
NamedColor("cyan", Palette::Cyan),
NamedColor("magenta", Palette::Magenta)
};
for (NamedColor p : pairs) {
if (strcmp(p.name(), color) == 0) {