Compounds I and II, as well as prodrugs, hydrates, solvates, N-oxides, salts and pharmaceutical compositions containing them, are useful for treating vitiligo. In certain embodiments, the compounds are provided in topical compositions. (The chemical formulas should be inserted here.)