-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcolors.rb
More file actions
11 lines (10 loc) · 970 Bytes
/
colors.rb
File metadata and controls
11 lines (10 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
class Colors
@@light_colors = ['#58F19D','#CADA8E','#90A859','#989D74','#4E8BA3','#9B65E2','#646146','#91767F','#508494','#B09F62','#30D266','#ADAA37','#92D61D','#DC1676','#76DE74','#79B1E8','#6ECC43','#8C7B67','#D8EE6E','#DC5C30','#36EE44','#0BB6A7','#81A146','#DF8DB1','#5112165','#2EF24D','#7EC02A','#B9E4FB','#DDEC8F','#85499A','#8DD82D','#CA2A91','#ADEFF6','#D150C7','#7009EF']
@@dark_colors = ["#092b50", "#260b50", "#161522", "#0f462f", "#17200e", "#2e3126", "#323023", "#074d1b", "#1e283c", "#072627", "#46003d", "#00374b", "#372d1e", "#11462b", "#1d2341", "#412e13", "#550a16", "#071c1b", "#054d0b", "#133241", "#024b38", "#273727", "#00374a", "#55121e", "#46003c", "#0d2150", "#4b3700", "#46221e", "#4b3700", "#27322d", "#37133c", "#410f32", "#042d50", "#35000b", "#54001a"]
def self.rand_light_color
@@light_colors[rand(@@light_colors.length)][1..-1]
end
def self.rand_dark_color
@@dark_colors[rand(@@dark_colors.length)][1..-1]
end
end