color adjustment

This commit is contained in:
Sander Hautvast 2022-12-09 15:51:50 +01:00
parent 029260939d
commit 62f209b6ae

View file

@ -108,7 +108,7 @@ import '../css/app.css';
const shift = Math.random() * 80 - 40; const shift = Math.random() * 80 - 40;
// yellow // yellow
if (i % 3 === 0) { if (i % 3 === 0) {
return `radial-gradient(circle ${size / 2}px, rgba(${255-shift}, ${180+shift}, 0, 1.0), rgba(0, 0, 0, 0.0)) no-repeat`; return `radial-gradient(circle ${size / 2}px, rgba(${200-shift}, ${150+shift/3}, 0, 1.0), rgba(0, 0, 0, 0.0)) no-repeat`;
} }
// blue // blue
if (i % 4 === 1) { if (i % 4 === 1) {