updates color array scheme to ensure proper layer colors