Skip to content

Commit

Permalink
Merge pull request #1962 from radarhere/colormap
Browse files Browse the repository at this point in the history
Added new colour from CSS 4 draft
  • Loading branch information
wiredfool authored Jun 19, 2016
2 parents aa9035d + 7882a79 commit 9fb0097
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PIL/ImageColor.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def getcolor(color, mode):
return color

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
# colour names used in CSS 1.
"aliceblue": "#f0f8ff",
Expand Down Expand Up @@ -248,6 +248,7 @@ def getcolor(color, mode):
"plum": "#dda0dd",
"powderblue": "#b0e0e6",
"purple": "#800080",
"rebeccapurple": "#663399",
"red": "#ff0000",
"rosybrown": "#bc8f8f",
"royalblue": "#4169e1",
Expand Down

0 comments on commit 9fb0097

Please sign in to comment.