From d13b9f710b9a074643d176a291232e30bcfcbd29 Mon Sep 17 00:00:00 2001 From: rlx Date: Tue, 19 Nov 2019 18:04:44 +0100 Subject: [PATCH] fix poster hue --- scripts/poster.erg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/poster.erg.py b/scripts/poster.erg.py index 6e5279c..4fc3406 100755 --- a/scripts/poster.erg.py +++ b/scripts/poster.erg.py @@ -53,7 +53,7 @@ def render_poster(data, poster): font_size_small = 32 font_size_large = 48 font_file = os.path.join(static_root, 'MontserratBold.ttf') - hue = int(year) % 100 * 360 + hue = int(year) % 100 * 3.6 image_color = getRGB([hue, 1, 0.2]) background_color = getRGB([hue, 1, 0.4]) foreground_color = getRGB([hue, 1, 0.8])