Colour code changes the baseline number of bonus abilities the weapon has, whites have nothing, green 1, blue 1, purple 2 and orange 3. Purples and Oranges will also have a Synergy bonus. Greens, blues or white at my level are all the same stat wise. EGO rating and colour look to have a modifier...