mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-13 05:06:49 +03:00
Merge pull request #1962 from radarhere/colormap
Added new colour from CSS 4 draft
This commit is contained in:
commit
9fb00976fc
|
@ -126,7 +126,7 @@ def getcolor(color, mode):
|
||||||
return color
|
return color
|
||||||
|
|
||||||
colormap = {
|
colormap = {
|
||||||
# X11 colour table (from "CSS3 module: Color working draft"), with
|
# X11 colour table from https://drafts.csswg.org/css-color-4/, with
|
||||||
# gray/grey spelling issues fixed. This is a superset of HTML 4.0
|
# gray/grey spelling issues fixed. This is a superset of HTML 4.0
|
||||||
# colour names used in CSS 1.
|
# colour names used in CSS 1.
|
||||||
"aliceblue": "#f0f8ff",
|
"aliceblue": "#f0f8ff",
|
||||||
|
@ -248,6 +248,7 @@ colormap = {
|
||||||
"plum": "#dda0dd",
|
"plum": "#dda0dd",
|
||||||
"powderblue": "#b0e0e6",
|
"powderblue": "#b0e0e6",
|
||||||
"purple": "#800080",
|
"purple": "#800080",
|
||||||
|
"rebeccapurple": "#663399",
|
||||||
"red": "#ff0000",
|
"red": "#ff0000",
|
||||||
"rosybrown": "#bc8f8f",
|
"rosybrown": "#bc8f8f",
|
||||||
"royalblue": "#4169e1",
|
"royalblue": "#4169e1",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user