S-acyltransferase involved in protein lipid modification. hexadecanoyl-CoA + L-cysteinyl-[protein] = CoA + S-hexadecanoyl-L-cysteinyl-[protein] The DHHC domain is required for palmitoyltransferase activity. Belongs to the DHHC palmitoyltransferase family.