Moved colors array out of the global scope