💡 Update utils

This commit is contained in:
Mattéo Delabre 2015-12-16 23:05:41 +01:00
parent 01667751d8
commit 071a485f2b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export const randomColor = () => {
const color = [];
for (let i = 0; i < 3; i++) {
color.push(parseFloat(Math.random().toFixed(2)) * 255);
color.push(Math.round((Math.random().toFixed(2)) * 255));
}
return color;