Palmitoyltransferase that catalyzes the addition of palmitate onto various protein substrates (By similarity). Has no stringent fatty acid selectivity and in addition to palmitate can also transfer onto target proteins myristate from tetradecanoyl-CoA and stearate from octadecanoyl-CoA (By similarity). May thereby regulate target proteins association and localization to membranes (By similarity). hexadecanoyl-CoA + L-cysteinyl-[protein] = CoA + S-hexadecanoyl-L-cysteinyl-[protein] L-cysteinyl-[protein] + tetradecanoyl-CoA = CoA + S-tetradecanoyl-L-cysteinyl-[protein] L-cysteinyl-[protein] + octadecanoyl-CoA = CoA + S-octadecanoyl-L-cysteinyl-[protein] The DHHC domain is required for palmitoyltransferase activity. Autopalmitoylated (in vitro). Belongs to the DHHC palmitoyltransferase family.