Commit d850781175743a94c669c7aaeaaa462787686830

Authored by Krzysiek Szczuka
1 parent 874183e6
Exists in master

fx

Showing 1 changed file with 29 additions and 28 deletions   Show diff stats
lib/letter_avatar/colors.rb
@@ -23,34 +23,35 @@ module LetterAvatar @@ -23,34 +23,35 @@ module LetterAvatar
23 # Colors form Google Inbox 23 # Colors form Google Inbox
24 # https://inbox.google.com 24 # https://inbox.google.com
25 def self.google 25 def self.google
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 - ] 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 # palette of optimally disctinct colors 56 # palette of optimally disctinct colors
56 # cf. http://tools.medialab.sciences-po.fr/iwanthue/index.php 57 # cf. http://tools.medialab.sciences-po.fr/iwanthue/index.php