From daac5bf3d2cd494fb6968a0893de6d0afadd5fcc Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 21 Mar 2018 22:13:17 -0400 Subject: [PATCH] Added white and gray to colors list. --- structs.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/structs.go b/structs.go index ecfa770..ab960a7 100644 --- a/structs.go +++ b/structs.go @@ -9,6 +9,11 @@ import ( "strings" ) +var Colors map[string]Color = map[string]Color{ + "Gray": &RGB{128, 128, 128}, + "White": &RGB{255, 255, 255}, +} + // Color represents a color. type Color interface { RGB() [3]int