# Misc Misc functions and methods that don't really fit in a single place at the moment - - - ## RSColors ```pascal RSColors.ITEM_SHADOW RSColors.ITEM_SHADOW_GRAY RSColors.ITEM_BORDER RSColors.INTERFACE_BORDER RSColors.ITEM_BORDER_WHITE RSColors.STACK_YELLOW RSColors.STACK_WHITE RSColors.STACK_GREEN RSColors.STACK_COLORS RSColors.TEXT_WHITE RSColors.TEXT_ORANGE RSColors.TEXT_GREY RSColors.TEXT_GREEN RSColors.TEXT_YELLOW RSColors.TEXT_RED RSColors.TEXT_LIGHT_YELLOW ``` Record holding a collection of constant colors used throughout the game. - - - ## Level2XP ```pascal function Level2XP(level: Integer): Integer; ``` Converts a level to the xp required for that level. Example: ```pascal WriteLn Level2XP(70); ``` - - - ## XP2Level ```pascal function XP2Level(xp: Integer): Integer; ``` Converts XP to the respective level. Example: ```pascal WriteLn XP2Level(100000); ```