github.com/gitbundle/modules@v0.0.0-20231025071548-85b91c5c3b01/avatar/identicon/colors.go (about) 1 // Copyright 2023 The GitBundle Inc. All rights reserved. 2 // Copyright 2017 The Gitea Authors. All rights reserved. 3 // Use of this source code is governed by a MIT-style 4 // license that can be found in the LICENSE file. 5 6 package identicon 7 8 import "image/color" 9 10 // DarkColors are dark colors for avatar blocks, they come from image/color/palette.WebSafe, and light colors (0xff) are removed 11 var DarkColors = []color.Color{ 12 color.RGBA{0x00, 0x00, 0x33, 0xff}, 13 color.RGBA{0x00, 0x00, 0x66, 0xff}, 14 color.RGBA{0x00, 0x00, 0x99, 0xff}, 15 color.RGBA{0x00, 0x00, 0xcc, 0xff}, 16 color.RGBA{0x00, 0x33, 0x00, 0xff}, 17 color.RGBA{0x00, 0x33, 0x33, 0xff}, 18 color.RGBA{0x00, 0x33, 0x66, 0xff}, 19 color.RGBA{0x00, 0x33, 0x99, 0xff}, 20 color.RGBA{0x00, 0x33, 0xcc, 0xff}, 21 color.RGBA{0x00, 0x66, 0x00, 0xff}, 22 color.RGBA{0x00, 0x66, 0x33, 0xff}, 23 color.RGBA{0x00, 0x66, 0x66, 0xff}, 24 color.RGBA{0x00, 0x66, 0x99, 0xff}, 25 color.RGBA{0x00, 0x66, 0xcc, 0xff}, 26 color.RGBA{0x00, 0x99, 0x00, 0xff}, 27 color.RGBA{0x00, 0x99, 0x33, 0xff}, 28 color.RGBA{0x00, 0x99, 0x66, 0xff}, 29 color.RGBA{0x00, 0x99, 0x99, 0xff}, 30 color.RGBA{0x00, 0x99, 0xcc, 0xff}, 31 color.RGBA{0x00, 0xcc, 0x00, 0xff}, 32 color.RGBA{0x00, 0xcc, 0x33, 0xff}, 33 color.RGBA{0x00, 0xcc, 0x66, 0xff}, 34 color.RGBA{0x00, 0xcc, 0x99, 0xff}, 35 color.RGBA{0x00, 0xcc, 0xcc, 0xff}, 36 color.RGBA{0x33, 0x00, 0x00, 0xff}, 37 color.RGBA{0x33, 0x00, 0x33, 0xff}, 38 color.RGBA{0x33, 0x00, 0x66, 0xff}, 39 color.RGBA{0x33, 0x00, 0x99, 0xff}, 40 color.RGBA{0x33, 0x00, 0xcc, 0xff}, 41 color.RGBA{0x33, 0x33, 0x00, 0xff}, 42 color.RGBA{0x33, 0x33, 0x33, 0xff}, 43 color.RGBA{0x33, 0x33, 0x66, 0xff}, 44 color.RGBA{0x33, 0x33, 0x99, 0xff}, 45 color.RGBA{0x33, 0x33, 0xcc, 0xff}, 46 color.RGBA{0x33, 0x66, 0x00, 0xff}, 47 color.RGBA{0x33, 0x66, 0x33, 0xff}, 48 color.RGBA{0x33, 0x66, 0x66, 0xff}, 49 color.RGBA{0x33, 0x66, 0x99, 0xff}, 50 color.RGBA{0x33, 0x66, 0xcc, 0xff}, 51 color.RGBA{0x33, 0x99, 0x00, 0xff}, 52 color.RGBA{0x33, 0x99, 0x33, 0xff}, 53 color.RGBA{0x33, 0x99, 0x66, 0xff}, 54 color.RGBA{0x33, 0x99, 0x99, 0xff}, 55 color.RGBA{0x33, 0x99, 0xcc, 0xff}, 56 color.RGBA{0x33, 0xcc, 0x00, 0xff}, 57 color.RGBA{0x33, 0xcc, 0x33, 0xff}, 58 color.RGBA{0x33, 0xcc, 0x66, 0xff}, 59 color.RGBA{0x33, 0xcc, 0x99, 0xff}, 60 color.RGBA{0x33, 0xcc, 0xcc, 0xff}, 61 color.RGBA{0x66, 0x00, 0x00, 0xff}, 62 color.RGBA{0x66, 0x00, 0x33, 0xff}, 63 color.RGBA{0x66, 0x00, 0x66, 0xff}, 64 color.RGBA{0x66, 0x00, 0x99, 0xff}, 65 color.RGBA{0x66, 0x00, 0xcc, 0xff}, 66 color.RGBA{0x66, 0x33, 0x00, 0xff}, 67 color.RGBA{0x66, 0x33, 0x33, 0xff}, 68 color.RGBA{0x66, 0x33, 0x66, 0xff}, 69 color.RGBA{0x66, 0x33, 0x99, 0xff}, 70 color.RGBA{0x66, 0x33, 0xcc, 0xff}, 71 color.RGBA{0x66, 0x66, 0x00, 0xff}, 72 color.RGBA{0x66, 0x66, 0x33, 0xff}, 73 color.RGBA{0x66, 0x66, 0x66, 0xff}, 74 color.RGBA{0x66, 0x66, 0x99, 0xff}, 75 color.RGBA{0x66, 0x66, 0xcc, 0xff}, 76 color.RGBA{0x66, 0x99, 0x00, 0xff}, 77 color.RGBA{0x66, 0x99, 0x33, 0xff}, 78 color.RGBA{0x66, 0x99, 0x66, 0xff}, 79 color.RGBA{0x66, 0x99, 0x99, 0xff}, 80 color.RGBA{0x66, 0x99, 0xcc, 0xff}, 81 color.RGBA{0x66, 0xcc, 0x00, 0xff}, 82 color.RGBA{0x66, 0xcc, 0x33, 0xff}, 83 color.RGBA{0x66, 0xcc, 0x66, 0xff}, 84 color.RGBA{0x66, 0xcc, 0x99, 0xff}, 85 color.RGBA{0x66, 0xcc, 0xcc, 0xff}, 86 color.RGBA{0x99, 0x00, 0x00, 0xff}, 87 color.RGBA{0x99, 0x00, 0x33, 0xff}, 88 color.RGBA{0x99, 0x00, 0x66, 0xff}, 89 color.RGBA{0x99, 0x00, 0x99, 0xff}, 90 color.RGBA{0x99, 0x00, 0xcc, 0xff}, 91 color.RGBA{0x99, 0x33, 0x00, 0xff}, 92 color.RGBA{0x99, 0x33, 0x33, 0xff}, 93 color.RGBA{0x99, 0x33, 0x66, 0xff}, 94 color.RGBA{0x99, 0x33, 0x99, 0xff}, 95 color.RGBA{0x99, 0x33, 0xcc, 0xff}, 96 color.RGBA{0x99, 0x66, 0x00, 0xff}, 97 color.RGBA{0x99, 0x66, 0x33, 0xff}, 98 color.RGBA{0x99, 0x66, 0x66, 0xff}, 99 color.RGBA{0x99, 0x66, 0x99, 0xff}, 100 color.RGBA{0x99, 0x66, 0xcc, 0xff}, 101 color.RGBA{0x99, 0x99, 0x00, 0xff}, 102 color.RGBA{0x99, 0x99, 0x33, 0xff}, 103 color.RGBA{0x99, 0x99, 0x66, 0xff}, 104 color.RGBA{0x99, 0x99, 0x99, 0xff}, 105 color.RGBA{0x99, 0x99, 0xcc, 0xff}, 106 color.RGBA{0x99, 0xcc, 0x00, 0xff}, 107 color.RGBA{0x99, 0xcc, 0x33, 0xff}, 108 color.RGBA{0x99, 0xcc, 0x66, 0xff}, 109 color.RGBA{0x99, 0xcc, 0x99, 0xff}, 110 color.RGBA{0x99, 0xcc, 0xcc, 0xff}, 111 color.RGBA{0xcc, 0x00, 0x00, 0xff}, 112 color.RGBA{0xcc, 0x00, 0x33, 0xff}, 113 color.RGBA{0xcc, 0x00, 0x66, 0xff}, 114 color.RGBA{0xcc, 0x00, 0x99, 0xff}, 115 color.RGBA{0xcc, 0x00, 0xcc, 0xff}, 116 color.RGBA{0xcc, 0x33, 0x00, 0xff}, 117 color.RGBA{0xcc, 0x33, 0x33, 0xff}, 118 color.RGBA{0xcc, 0x33, 0x66, 0xff}, 119 color.RGBA{0xcc, 0x33, 0x99, 0xff}, 120 color.RGBA{0xcc, 0x33, 0xcc, 0xff}, 121 color.RGBA{0xcc, 0x66, 0x00, 0xff}, 122 color.RGBA{0xcc, 0x66, 0x33, 0xff}, 123 color.RGBA{0xcc, 0x66, 0x66, 0xff}, 124 color.RGBA{0xcc, 0x66, 0x99, 0xff}, 125 color.RGBA{0xcc, 0x66, 0xcc, 0xff}, 126 color.RGBA{0xcc, 0x99, 0x00, 0xff}, 127 color.RGBA{0xcc, 0x99, 0x33, 0xff}, 128 color.RGBA{0xcc, 0x99, 0x66, 0xff}, 129 color.RGBA{0xcc, 0x99, 0x99, 0xff}, 130 color.RGBA{0xcc, 0x99, 0xcc, 0xff}, 131 color.RGBA{0xcc, 0xcc, 0x00, 0xff}, 132 color.RGBA{0xcc, 0xcc, 0x33, 0xff}, 133 color.RGBA{0xcc, 0xcc, 0x66, 0xff}, 134 color.RGBA{0xcc, 0xcc, 0x99, 0xff}, 135 color.RGBA{0xcc, 0xcc, 0xcc, 0xff}, 136 }