Porsche codes can be found in the glove compartment, on the trunk lid, or on the firewall. They are normally three to four characters with letters and numbers, like 041 or Z6H.
You can also find your car's color code by providing the last 8 digits of your VIN to the parts department of a Porsche dealership and they will be able to tell you what the color is.