Returns a table of color values indicating the difficulty of a quest's level as compared to the player's

See also Quest functions.


color = GetQuestDifficultyColor(level)


  • level - Level for which to compare difficulty (number)


  • color - A table containing color values (keyed r, g, and b) representing the difficulty of a quest at the input level as compared to the player's (table)
This function is not a C API but a Lua function declared in Blizzard's default user interface. Its implementation can be viewed by extracting the addon data using the Addon Kit provided by Blizzard.
This function is defined by the default user interface in Lua. You can find the definition by examining the FrameXML code for the default UI,