Skip to main content

Tweak the colors again

ID
5871da3
date
2025-02-01 21:17:18+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
400571d
message
Tweak the colors again
changed files
1 file, 2 additions, 2 deletions

Changed files

static/app.js (15018 → 15019)

diff --git a/static/app.js b/static/app.js
index c797764..ed72593 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.5;
-  const lightness2 = 0.2;
+  const lightness1 = 0.4;
+  const lightness2 = 0.25;
 
   // Convert to rgb.
   let [red1, green1, blue1] = hslToRgb(hue, saturation, lightness1);