Melanocytes are pigment cells that are closely associated with many skin disorders, such as vitiligo, piebaldism, Waardenburg syndrome, and the deadliest skin cancer, melanoma. Through studies of model organisms, the genetic regulatory network of melanocyte development during embryogenesis has been well established. This network also seems to be shared with adult melanocyte regeneration and melanoma formation. To identify chemical regulators of melanocyte development and homeostasis, we screened a small-molecule library of 6000 compounds using zebrafish embryos and identified five novel compounds that inhibited pigmentation. Here we report characterization of two compounds, 12G9 and 36E9, which disrupted melanocyte development. TUNEL assay indicated that these two compounds induced apoptosis of melanocytes. Furthermore, compound 12G9 specifically inhibited the viability of mammalian melanoma cells in vitro. These two compounds should be useful as chemical biology tools to study melanocytes and could serve as drug candidates against melanocyte-related diseases.