Create a program or a function that produces the flag of Finland (the grey border is there for presentation purposes only):
- The ratio of the flag is
18:11, with the cross being
3units thick, giving a horizontal ratio set of
5:3:10and a vertical ratio set of
- The picture must be at least
180 x 110pixels in size, or in case of ASCII art,
90 x 55characters.
- There is no official RGB colour for the blue, but use the closest approximation of
(0, 53, 128). If your system doesn't support RGB values, use
- For the white colour, use RGB
(255, 255, 255)or
Not so fast
As drawing the Finnish national flag would be simpler than last year's Icelandic challenge, we'll have to ramp up the difficulty a bit. Given that Finland's Independence Day is on 6 December, the decimal number
100 must appear somewhere on the flag when the date in Finland (UTC+02:00) is
2017-12-06 or later (your code should not assume that the machine it's running on is set to a particular timezone). Before the date, the number must not be there. The number must be printed in black (RGB
(0, 0, 0) or
black) but its placement and font parameters are up to you.
An example of such a render (again, ignore the border):
For testing purposes, it would be nice to include two additional versions of your solution, one with a fixed date in the past and one in the future.
Standard loopholes are forbidden, as are built-in flag images/libraries. Also, your code must not take any input.
Finns don't like small talk, and this is code-golf, so don't waste characters!