It is possible that ultraviolet light had an influence on a colony of blue colored bacteria causing the mutation to occur. This type of mutation is mutation induced by a mutagen in the environment (UV light).
A mutation is a change in the nucleotide sequence (genetic material) and can create new functionalities of an organism.