Commit 95bf865a by Alexander Bazo

Fix bug in color generator

parent 2134e4ab
......@@ -2,7 +2,7 @@
function createRandomColorChannel() {
let value = Math.floor(Math.random() * 256);
value = (value + 255) / 2;
value = Math.floor((value + 255) / 2);
return value;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment