flagbase

Flag of Mexico ๐Ÿ‡ฒ๐Ÿ‡ฝ

The Mexico flag uses 3 main colors: green (#006847), red (#CE1126), white (#FFFFFF).

Flag of Mexico

Artwork is drawn on a 4:3 canvas; a square 1:1 version is in the downloads. The official proportions of the flag may differ.

Download

Quick facts

Capital
Mexico City
Continent
North America
ISO 3166-1 code
MX
Emoji
U+1F1F2 U+1F1FD
Palette
Red, White and Green flags (13)
Design
animals, stripes

Mexico flag color codes

Color HEX RGB CMYK Share of flag
green 100, 0, 32, 59 33.1%
red 0, 92, 82, 19 33.1%
white 0, 0, 0, 0 29.1%

Click a value to copy it. Colors are the fills used in the flag-icons artwork, weighted by area; colors under 1.5% of the flag (fine detail) are left out. They are not official government color specifications.

Use this flag on a website

Image tag (free to hotlink, CORS enabled):

<img src="https://flagbase.dev/flags/4x3/mx.svg" alt="Flag of Mexico" width="64" height="48">

flag-icons CSS class:

<span class="fi fi-mx"></span>

Often confused with

Flags that look like the Mexico flag

Closest matches by layout and color, compared pixel by pixel.

More flags of North America

See all ยท Take the North America flag quiz