The roof is an integral part of the car. Its repair requires a lot of complicated metal and paint work. If the damage is not very big and the pillars are intact, you don't have to replace the entire roof.
Fixing a seriously damaged roof requires a lot of precision and application of electronic measuring tools
Leave the selection of the right colour to professionals