The flag of the Russian Federation (Russian: Флаг Российской Федерации, tr. Flag Rossiskoy Federatsii) is a tricolour flag consisting of three equal horizontal fields: white on the top, blue in the middle, and red on the bottom. The flag was first used as an ensign for Russian merchant ships in 1696.

It remained in use until 1858, when the first official flag of the Russian Empire was decreed by Alexander II, which was a tricolor consisting of three horizontal fields: black on the top, yellow in the middle, and white on the bottom. A decree in 1896 reinstated the white, blue, and red tricolor as the official flag of the Russian Empire until the Revolution of 1917.

Following the creation of the Russian Socialist Federative Soviet Republic after the Bolshevik Revolution, the Russian tricolor was abolished, and its usage was preserved by the White Movement and the Russian state during the Russian Civil War. During the Soviet Union's existence, it used the red flag with a golden hammer and sickle and a golden bordered red star on top while the Russian SFSR (a constituent republic of the USSR), used a defaced variant with a vertical blue bar at the hoist.

More Info: en.wikipedia.org