fix poster hue
This commit is contained in:
parent
2523228600
commit
d13b9f710b
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def render_poster(data, poster):
|
||||||
font_size_small = 32
|
font_size_small = 32
|
||||||
font_size_large = 48
|
font_size_large = 48
|
||||||
font_file = os.path.join(static_root, 'MontserratBold.ttf')
|
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])
|
image_color = getRGB([hue, 1, 0.2])
|
||||||
background_color = getRGB([hue, 1, 0.4])
|
background_color = getRGB([hue, 1, 0.4])
|
||||||
foreground_color = getRGB([hue, 1, 0.8])
|
foreground_color = getRGB([hue, 1, 0.8])
|
||||||
|
|
Loading…
Reference in a new issue