Tweak the colours again
- ID
fa8ada8- date
2025-01-31 09:30:38+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
ca2048b- message
Tweak the colours again- changed files
1 file, 2 additions, 2 deletions
Changed files
static/app.js (15051 → 15018)
diff --git a/static/app.js b/static/app.js
index 4e9f5e2..c797764 100644
--- a/static/app.js
+++ b/static/app.js
@@ -185,8 +185,8 @@ function chooseColour(fandom) {
// The saturation/lightness values are chosen to get a dark-ish
// shade that will look good with white text.
const saturation = 0.7 + 0.3 * getRand();
- const lightness1 = 0.27 + 0.2 * getRand();
- const lightness2 = lightness1 - 0.15;
+ const lightness1 = 0.5;
+ const lightness2 = 0.2;
// Convert to rgb.
let [red1, green1, blue1] = hslToRgb(hue, saturation, lightness1);