To celebrate Independence Day in the Philippines this year, Facebook created a banner for users to share across the social network. Unfortunately, it also suggested that the country is at war.(facebook)

The Philippines is at war, according to Facebook's latest mistake.

The social network created a banner featuring the Philippines flag this weekend to help users celebrate the country's Independence Day. However, Facebook accidentally inverted the color scheme — red on top, blue on the bottom — which according to Philippines law, means the country is at war.

"The flag, if flown from a flagpole, shall have its blue field on top in time of peace and the red field on top in time of war; if in a hanging position, the blue field shall be to the right (left of the observer) in time of peace, and the red field to the right (left of the observer) in time of war," reads the Philippine law.

The Philippines flag's correct color scheme is blue on top and red in the bottom, which means that the country is at peace.

The wrong flag design began making an appearance Sunday morning accompanied with a message that read: "Happy Independence Day! Here's to all of the Philippines' health, happiness and prosperity."

Facebook users immediately pointed out the error on Twitter and other social media. The company was quick to realize its mistake and issued an apology.

"This was unintentional, and we're sorry," Facebook told The Philippine Star. "We care deeply about the community in the Philippines and, in an attempt to connect people on Independence Day, we made a mistake."

Google also joined the celebration by featuring a Philippine-inspired Google Doodle on its homepage — but it got the color scheme right.

Here is how the internet reacted to Facebook's mistake:

Dear @facebook please change the Philippine flag you posted. Red on top means the country is at war. Blue should be on top! Apologize too.

— NEY (@neyvillasenor) June 12, 2016

Facebook greeting Happy Independence Day is using an inverted Philippine flag 🇵🇭 and only few people noticed it. #HappyIndependenceDay

— B R Y A N (@HydroBryanic) June 12, 2016

@facebook , you have the Philippine flag upside down w/c means we are at war. Blue is Up, Red is down.

— theLAUNDRYDIARY (@theLAUNDRYDIARY) June 12, 2016

Send a Letter to the Editor

Join the Conversation: