Flag Color Extractor

USA

#B22234#FFFFFF#3C3B6E

Germany

#000000#DD0000#FFCE00

Japan

#FFFFFF#BC002D

Brazil

#009C3B#FFDF00#002776#FFFFFF

India

#FF9933#FFFFFF#138808#000080

France

#0055A4#FFFFFF#EF4135

UK

#012169#FFFFFF#C8102E

Italy

#009246#FFFFFF#CE2B37

You Might Also Need

The flag color extractor lists the colors of eight national flags with the hex code for each, so a flag palette can be read or copied directly rather than picked by eye.

What is Flag Color Extractor?

  • The flag color extractor presents eight flags as cards — the United States, Germany, Japan, Brazil, India, France, the United Kingdom and Italy.
  • Each card shows the flag's colours as a row of coloured bands, with the hex code for every band printed underneath in monospace and a copy button that takes the whole set at once.
  • There are no inputs: this is a reference, and the palette for each flag is fixed.

The bands are proportioned equally, which is a deliberate simplification rather than an error. A real flag alternates stripe widths and includes devices — crescents, stars, wheels, crosses — that no row of equal rectangles can represent. What the cards give you is the flag's palette and its order, which is what matters when the colours are being reused: the codes are the exact values, and the sequence tells you which colour leads.

The eight flags are also a useful reminder of how small the world's flag palette really is. Red, white and blue account for the great majority of them, and the differences lie in the specific reds and blues rather than in the hues themselves. Germany's black, red and gold is one of the few sets without white; Japan is a single red on white; Brazil stacks green, yellow, blue and white. Comparing them in one place makes it obvious how much character comes from the particular shade of a familiar hue — the deep navy of the Union Jack and the lighter blue of the French tricolour are the same colour in name only.

In practice the tool is used two ways. The first is as a source of a ready-made palette: a red, a white and a deep blue taken straight from a flag gives a palette with an unmistakable national character that has already been tested for legibility by a century of use, and the copy button takes the whole set into a project in one click. The second is verification — confirming that the blue you have been using matches the blue the flag actually specifies, which is a common problem when an asset has been resampled a few times.

A word on the values themselves, because flag colours are less fixed than they look. What a flag looks like depends on the textile it is printed on, the dye batch and the light it is seen in, which is why national specifications usually give approximate references rather than exact codes. The hexes here are screen-appropriate interpretations of those references, chosen to look right on a display, and they are the ones you want for web and interface work rather than for print reproduction.

There is no export beyond copying the codes and no image input, so if the flag you need is not among the eight there is nothing to upload — the image colour picker or the palette extractor will read colours from a picture instead. Within those bounds, as a set of country flag palettes this is a quick way to get flag colors with hex, and as a source of national flag color codes it removes the guesswork from extract colors from flag work entirely.

How to use Flag Color Extractor

  1. Find the flag card you want.
  2. Read the swatch row: each flag's colours are shown side by side with their hex values beneath.
  3. Copy the values you need for a project.
  4. Remember the set is curated rather than searchable — eight flags are included.

When to use Flag Color Extractor vs related tools

Use this when a design calls for a national palette — a sporting event, a travel or language feature, a localised campaign — and you want the codes rather than an approximation. Use the image colour picker or palette extractor when the flag you need is not in the list. For the neighbouring steps, see the brand color library and the cultural color palettes.

Privacy & Security

This tool runs entirely in your browser — no data ever leaves your device. There is no server round-trip, no upload, no logging, and no account required. Your input is processed locally using client-side JavaScript and is never stored, transmitted, or accessible to anyone else. When you close the tab, everything disappears.

Frequently asked questions about Flag Color Extractor

© 2026 Racira Colors — Free browser tools for color workflows.