mirror of
https://github.com/RGBCube/serenity
synced 2025-07-19 15:07:34 +00:00
LibDraw: Parse the color name "pink" to #ffc0cb
This commit is contained in:
parent
c1474e594e
commit
a32cae4c3b
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ Optional<Color> Color::from_string(const StringView& string)
|
||||||
{ 0x000000, "black" },
|
{ 0x000000, "black" },
|
||||||
{ 0xc0c0c0, "silver" },
|
{ 0xc0c0c0, "silver" },
|
||||||
{ 0x808080, "gray" },
|
{ 0x808080, "gray" },
|
||||||
|
{ 0xffc0cb, "pink" },
|
||||||
{ 0x000000, nullptr }
|
{ 0x000000, nullptr }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue