Hair advice

Can I dye my hair while its damp or does it have to be 100% dry?