And a few months ago, the government proposed an amendment to the law. That lists #ffffff as the official color (for non-textile use). But it will probably take some time until it actually goes into force, if it ever will…
tl;dr: colors are hard, flag colors specified by 1980s laws doubly so.
[0] https://commons.wikimedia.org/wiki/File:Flag_of_Poland.svg [1] https://en.wikipedia.org/wiki/CIELUV [2] https://commons.wikimedia.org/wiki/File:Flag_of_Poland_(norm... [3] https://commons.wikimedia.org/wiki/File:Flaga_Polski_strange... [4] https://en.wikipedia.org/wiki/Flag_of_Poland [5] https://pl.wikipedia.org/wiki/Flaga_Polski [6] https://pl.wikipedia.org/wiki/Polska
https://www.akorda.kz/assets/media/flag_mediumThumb.jpg
https://flagicons.lipis.dev/flags/4x3/kz.svg
https://upload.wikimedia.org/wikipedia/commons/d/d3/Flag_of_...
Wikipedia's version looks like a very good recreation and probably should be used instead.
I noticed also that Bouvet Island (bv) is represented by an almost comically bad version of the Norwegian flag. Finally, many of the colors are off, e.g. flag of Saudi Arabia.
This site is dangerous - by using these ridiculously incorrect flags you actually risk offending certain users.
I feel like it would be pretty weird for someone to get offended because the eagle was exactly correct but too large on the flag.
US: https://www.law.cornell.edu/uscode/text/18/700
If you do not know the specific history regarding why the proportions of some national flag are as they are, I would be very careful about altering those. Although probably not criminal in most places, showing an incorrect flag can still cause offense and draw disfavourable attention to the publisher who uses the incorrect flag.
There has been a Supreme Court precedent that lets you to do whatever the fuck you want with a US flag that you own. You can trample on it all day long, and it’s a protected activity under the first amendment.
Edit: https://en.m.wikipedia.org/wiki/United_States_v._Eichman
The flags of Indonesia and Monaco are easy to tell apart if they're the correct aspect ratio, because the flag of Monaco is much narrower. If you force both of them into the same shape, as this collection does
https://flagicons.lipis.dev/flags/4x3/id.svg
https://flagicons.lipis.dev/flags/4x3/mc.svg
they only differ in the shade of red. And I think they got it wrong: Indonesia's red looks darker than I'm used to, Monaco's looks brighter.
If you absolutely need to fit many different flags into a uniform rectangle, you'd better keep the aspect ratio and leave the rest of the rectangle transparent. And don't forget to include a differently-colored border so people can tell where white stripes end (or whatever your background color is.)
Last I checked, there's some ambiguity in how to draw the moon in the upper triangle. It's supposed to have eight points with no prescription on how they connect to the crescent below. (Step 18 in this tutorial: https://www.settinger.net/experiments/nepal-flag/). This seems to be the most popular version: https://clipground.com/images/nepali-flag-png-4.png.
Unfortunately they chose 3:4 for the rectangular variants, which isn't really used that much, 2:3 and 1:2 are more common for flags[1], so lots more flags have their designs rearranged, squished and stretched to fit the box than would otherwise need to be. For example flags with the UK's Union Jack in the canton seem to be noticeably mangled as the Union Jack seems far too large relatively. It's always going to be a compromise to have one shape, but just using 2:3 (the most common shape) would mean far fewer would need adjustments.
[1] https://en.wikipedia.org/wiki/List_of_aspect_ratios_of_natio...
So the UI people just make up fake flags then. Cool.
I don't know whether SVG can handle that, but you can get JavaScript to display it correctly in any aspect ratio, of course.
It depends on calc(), vw and vh units, so it’ll work in browsers but not elsewhere.
(Certainly not all flags with similar specifications will be achievable; this one’s diagonals just happened to be all neatly anchored in the corners, though the red diagonal St Patrick’s cross is fiddly, requiring masking to achieve the required stroke alignment, for which see also https://svgwg.org/specs/strokes/#SpecifyingStrokeAlignment, which is an incomplete draft, and unimplemented.)
[0]: https://en.wikipedia.org/wiki/Gallery_of_sovereign_state_fla...
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-se" viewBox="0 0 640 480">
<path fill="#066aa7" d="M0 0h640v480H0z"/>
<path fill="#fecc00" d="M0 192h640v96H0z"/>
<path fill="#fecc00" d="M176 0h96v480h-96z"/>
</svg>
(each path has five commands, making a box: "move to", "horizontal line", "vertical line", "horizontal line", "close path")I guess the iOS SVG renderer is just buggy.
https://i.imgur.com/toS0Wjh.jpeg
https://github.com/lipis/flag-icons/blob/main/flags/4x3/se.s...
country_code = 'AU'
c1, c2 = map(lambda x: ord(x) + 0x1f1a5, country_code)
flag = chr(c1) + chr(c2)PS: Firefox on Windows uses its own emoji font "Twemoji Mozilla" to display flags.
Search index is on the file name, so it only really works well for distinct country codes: https://logosear.ch/search.html?q=bz
But the exact match pages will work: https://logosear.ch/logos/pl/index.html
Google led me to https://www.babelstone.co.uk/Fonts/Flags.html. That’s SIL-licensed.
There almost certainly are other fonts with liberal licenses.
Roman Mars taught me that – well Ted Kaye, but Roman taught me in his seminal TED talk [1].
3 worst
-rw-r--r-- 1 197121 395610 Feb 4 15:19 do.svg Dominican Republic
-rw-r--r-- 1 197121 187525 Feb 4 15:19 rs.svg Serbia
-rw-r--r-- 1 197121 118305 Feb 4 15:19 bo.svg Bolivia
3 best
-rw-r--r-- 1 197121 225 Feb 4 15:19 pl.svg Poland
-rw-r--r-- 1 197121 215 Feb 4 15:19 de.svg Deutschland
-rw-r--r-- 1 197121 191 Feb 4 15:19 bd.svg Bangladesh