Meaning: you are caught between two bad choices, neither choice is good.
Example: The man was caught in a fire, he was on the third floor of an apartment building and the flames were already scorching him. Should he jump to his death or stay and be burned alive? He was caught between the devil and the deep blue sea. See this Idiom in a story: Colour