Skip to content

Commit c4aad58

Browse files
authored
adjust color set for visibility (#19)
1 parent c953739 commit c4aad58

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tsplot/color_palettes.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ var usedColors = make(map[string]color.RGBA)
1010

1111
// simple colors (subset of golang.org/x/image/colornames)
1212
var availableColors = map[string]color.RGBA{
13-
"aqua": color.RGBA{0x00, 0xff, 0xff, 0xff}, //(rgb: 0, 255, 255),
13+
"navy": color.RGBA{0x00, 0x00, 0x80, 0xff}, // rgb(0, 0, 128)
1414
"brown": color.RGBA{0xa5, 0x2a, 0x2a, 0xff}, // rgb(165, 42, 42)
15+
"crimson": color.RGBA{0xdc, 0x14, 0x3c, 0xff}, // rgb(220, 20, 60)
1516
"darkkhaki": color.RGBA{0xbd, 0xb7, 0x6b, 0xff}, // rgb(189, 183, 107)
1617
"deepskyblue": color.RGBA{0x00, 0xbf, 0xff, 0xff}, //(rgb: 0, 191, 255),
17-
"gold": color.RGBA{0xff, 0xd7, 0x00, 0xff}, //(rgb: 255, 215, 0),
18+
"goldenrod": color.RGBA{0xda, 0xa5, 0x20, 0xff}, // rgb(218, 165, 32)
1819
"gray": color.RGBA{0x80, 0x80, 0x80, 0xff}, // rgb(128, 128, 128)
1920
"green": color.RGBA{0x00, 0x80, 0x00, 0xff}, //(rgb: 0, 128, 0),
20-
"lime": color.RGBA{0x00, 0xff, 0x00, 0xff}, //(rgb: 0, 255, 0),
21+
"limegreen": color.RGBA{0x32, 0xcd, 0x32, 0xff}, // rgb(50, 205, 50)
2122
"magenta": color.RGBA{0xff, 0x00, 0xff, 0xff}, //(rgb: 255, 0, 255),
2223
"mediumturquoise": color.RGBA{0x48, 0xd1, 0xcc, 0xff}, // rgb(72, 209, 204)
23-
"orange": color.RGBA{0xff, 0xa5, 0x00, 0xff}, //(rgb: 255, 165, 0),
24+
"orangered": color.RGBA{0xff, 0x45, 0x00, 0xff}, // rgb(255, 69, 0)
2425
"purple": color.RGBA{0x80, 0x00, 0x80, 0xff}, // rgb(128, 0, 128)
25-
"red": color.RGBA{0xff, 0x00, 0x00, 0xff}, //(rgb: 255, 0, 0),
2626
"royalblue": color.RGBA{0x41, 0x69, 0xe1, 0xff}, // rgb(65, 105, 225)
2727
"violet": color.RGBA{0xee, 0x82, 0xee, 0xff}, //(rgb: 238, 130, 238),
2828
}

0 commit comments

Comments
 (0)