It's definitely all aesthetic and if/when there is lore for the colors, it comes later as a means to fill in the cracks so to speak. There's no reason Rogue Squadron's X-Wing has to have red lasers while the Galactic Empire's TIE-Fighter has green lasers, other than George Lucas wanted people to know who's good and bad at a distance.