When I was in chefchouen and asked why its blue there.. they told me three probably reasons, even they didnt know actually^^ Unfortunately I forgot the reasons, maybe @safaax could help out here?
One of the reasons was, that it prevents mosqitos to come ..
amazing pictures by the way !