💡 Update utils
This commit is contained in:
parent
01667751d8
commit
071a485f2b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue