Dark Humor (also known as Gallows or Morbid Humor)
Dark humor refers to humor characterized by disturbing elements juxtaposed with farcical ones.
The picture to the left depicts gallows humor. It shows an icecream vendor offering ice cream to a man about to hang. The vendor says last chance which creates humor because the man will hang soon, so it is his literal last chance. The juxtaposition of the morbid element of hanging with the humorous wordplay ensures that this example is gallows humor.