letter_avatar 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/letter_avatar/colors.rb +29 -28
- data/lib/letter_avatar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d88da15e6bd5764a4908b776f29a0a89ce7e252c
|
4
|
+
data.tar.gz: f178d03138539cc64a43887931aa60cc2d1e30a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b05bb6cb9d1203d9075d17c94867badc7e7bec5d3e7a907644468e6d99b5abf5eae7eab06d81564a88a10adb749e9170d786822784efc3b9a8ddd664e1a068f9
|
7
|
+
data.tar.gz: 69b52f4591bd3b3670d189a1efa9ccee295646f974e7c25f40c13aae5a601abfc0b89446f81c19273770f1edb620a245ad8e4f67fa3707c278748c1a90b1d860
|
data/lib/letter_avatar/colors.rb
CHANGED
@@ -23,34 +23,35 @@ module LetterAvatar
|
|
23
23
|
# Colors form Google Inbox
|
24
24
|
# https://inbox.google.com
|
25
25
|
def self.google
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
26
|
+
[
|
27
|
+
[226, 95, 81], # A
|
28
|
+
[242, 96, 145], # B
|
29
|
+
[187, 101, 202], # C
|
30
|
+
[149, 114, 207], # D
|
31
|
+
[120, 132, 205], # E
|
32
|
+
[91, 149, 249], # F
|
33
|
+
[72, 194, 249], # G
|
34
|
+
[69, 208, 226], # H
|
35
|
+
[72, 182, 172], # I
|
36
|
+
[82, 188, 137], # J
|
37
|
+
[155, 206, 95], # K
|
38
|
+
[212, 227, 74], # L
|
39
|
+
[254, 218, 16], # M
|
40
|
+
[247, 192, 0], # N
|
41
|
+
[255, 168, 0], # O
|
42
|
+
[255, 138, 96], # P
|
43
|
+
[194, 194, 194], # Q
|
44
|
+
[143, 164, 175], # R
|
45
|
+
[162, 136, 126], # S
|
46
|
+
[163, 163, 163], # T
|
47
|
+
[175, 181, 226], # U
|
48
|
+
[179, 155, 221], # V
|
49
|
+
[194, 194, 194], # W
|
50
|
+
[124, 222, 235], # X
|
51
|
+
[188, 170, 164], # Y
|
52
|
+
[173, 214, 125] # Z
|
53
|
+
]
|
54
|
+
end
|
54
55
|
|
55
56
|
# palette of optimally disctinct colors
|
56
57
|
# cf. http://tools.medialab.sciences-po.fr/iwanthue/index.php
|