2019-05-01 10:00:39 +02:00
|
|
|
local colors = {}
|
|
|
|
|
|
|
|
for x = 1, 100, 1 do
|
2021-03-24 17:46:00 +02:00
|
|
|
colors[#colors + 1] = {r = 1, g = x * 0.01, b = 0}
|
2019-05-01 10:00:39 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
for x = 100, 0, -1 do
|
2021-03-24 17:46:00 +02:00
|
|
|
colors[#colors + 1] = {r = x * 0.01, g = 1, b = 0}
|
2019-05-01 10:00:39 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
for x = 1, 100, 1 do
|
2021-03-24 17:46:00 +02:00
|
|
|
colors[#colors + 1] = {r = 0, g = 1, b = x * 0.01}
|
2019-05-01 10:00:39 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
for x = 100, 0, -1 do
|
2021-03-24 17:46:00 +02:00
|
|
|
colors[#colors + 1] = {r = 0, g = x * 0.01, b = 1}
|
2019-05-01 10:00:39 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
for x = 1, 100, 1 do
|
2021-03-24 17:46:00 +02:00
|
|
|
colors[#colors + 1] = {r = x * 0.01, g = 0, b = 1}
|
2019-05-01 10:00:39 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
for x = 100, 0, -1 do
|
2021-03-24 17:46:00 +02:00
|
|
|
colors[#colors + 1] = {r = 1, g = 0, b = x * 0.01}
|
2019-05-01 10:00:39 +02:00
|
|
|
end
|
|
|
|
|
2021-03-24 17:46:00 +02:00
|
|
|
return colors
|