Saudi Arabia has imprisoned a kindergarten official for painting a rainbow mural over an education institute in Riyadh, which according to local Sharia police 'promotes homosexuality'.

The Saudi officials, who found the wall painting inappropriate, said that rainbows are a symbol of lesbian, gay, bisexual and transgender (LGBT) community and putting them on the walls of Talee al-Noor International School will 'promote homosexuality'.

The Committee for the Promotion of Virtue and the Prevention of Vice, later made the school authorities repaint the bright-coloured wall, which now sports a more sombre navy blue colour.

Euro News reported that the school was fined 100,000 Riyals (around $26,000) for promoting 'homosexuality.'

Saudi Arabia follows the ultraconservative Wahhabi culture and enforces strict Sharia rules in the country. In Saudi, homosexuality is treated as a criminal offence, punishable by flogging and jail-term. The Wahhabi practises even allow for punishments such as death by stoning.

On social media, many of the Saudi nationals applauded the actions of its religious police. However, some of them also voiced their protest by putting up pictures of people using 'rainbow' umbrellas to drive the point home that not every rainbow is an LGBT symbol.