Skin color is due primarily to the presence of a pigment called melanin , which is controlled by at least 6 genes. Both light and dark complexioned people have melanin. However, two forms are produced--pheomelanin , which is red to yellow in color, and eumelanin , which is dark brown to black.