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


See also Quest functions.

Signature:

color = GetQuestDifficultyColor(level)

Arguments:

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

Returns:

  • 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,