Module:DecodeHelper/doc

Exposes 2 functions:

decodeStackSize(strSize) accepts stack size in the form of  or   and returns the respective number version of it (  or  ).

decodeRGB(rgb) accepts color string as it is in docs.json and returns hex color string