The melanocytes that synthesize and secrete melanin are derived from the neural crest and migrate to the site of pigment production during embryonic development of the structure.