Difficulty

 is a generically used term for how hard something is to complete (like a quest), fight (mob and their level colors), gather (resource), or learn (recipe). This info is usually indicated by color.

Dungeon Difficulty is a specific type, introduced in the Burning Crusade expansion.