Sleep with Temporary Hair Color

A: By its nature, temporary color is made to rest on the outside of the hair shaft and therefore can be subject to being rubbed off via friction against bedding fibers (running/bleeding if you perspire).
Furthermore, make sure that your hair is completely dry before bed. Any dampness in the temporary-colored hair will surely lead to color bleed.
©Hairfinder.com
See also:
How to color hair
How to remove hair coloring from fabric
Hair color bleeding
Why your hair must be dry before sleeping