Skip to content

Commit

Permalink
Revert to old-hash style (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
heyvito committed Jun 26, 2015
1 parent df60c5a commit d9526b5
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions lib/identicon.rb
Expand Up @@ -8,22 +8,22 @@ class Identicon
CHARS_REGEX = /(\w)(\w)/

COLORS = {
a: [196, 108, 168],
b: [127, 219, 107],
c: [83, 89, 215],
d: [111, 198, 148],
e: [186, 130, 82],
f: [113, 66, 197],
"0": [201, 186, 84],
"1": [114, 153, 205],
"2": [141, 108, 204],
"3": [75, 183, 114],
"4": [192, 86, 82],
"5": [199, 115, 209],
"6": [206, 77, 94],
"7": [211, 135, 162],
"8": [71, 194, 197],
"9": [188, 110, 93]
:"a" => [196, 108, 168],
:"b" => [127, 219, 107],
:"c" => [83, 89, 215],
:"d" => [111, 198, 148],
:"e" => [186, 130, 82],
:"f" => [113, 66, 197],
:"0" => [201, 186, 84],
:"1" => [114, 153, 205],
:"2" => [141, 108, 204],
:"3" => [75, 183, 114],
:"4" => [192, 86, 82],
:"5" => [199, 115, 209],
:"6" => [206, 77, 94],
:"7" => [211, 135, 162],
:"8" => [71, 194, 197],
:"9" => [188, 110, 93],
}

class << self
Expand Down

0 comments on commit d9526b5

Please sign in to comment.