diff --git a/hexcolor/popular.go b/hexcolor/popular.go index 8a7a4ec..adddb76 100644 --- a/hexcolor/popular.go +++ b/hexcolor/popular.go @@ -1,5 +1,7 @@ package hexcolor +// These named palettes are sourced from https://www.color-hex.com/ + var Palettes = map[string][]int{ "#3": {0x2A4D69, 0x4B86B4, 0xADCBE3, 0xE7EFF6, 0x63ACE5}, "- Lips -": {0xF98787, 0xE76A6A, 0xD65B5B, 0xC14B4B, 0xB83F3F}, diff --git a/html/html.go b/html/html.go index 46fc4da..a5a3bbc 100644 --- a/html/html.go +++ b/html/html.go @@ -6,6 +6,7 @@ import ( "github.com/taigrr/go-colorpalettes/simplecolor" ) +// These colors are sourced from w3schools: https://www.w3schools.com/cssref/css_colors.asp var colors = simplecolor.NamedPalette{ "aliceblue": 0xF0F8FF, "antiquewhite": 0xFAEBD7,