A cup of brewed coffee can do more than just give you a caffeine boost. It can also help dye your hair a shade or two darker, and may even cover up some gray hair. ... Apply the mixture to clean, damp hair. Let the mixture set for at least an hour, and wash it out when you're done.