A page is set aside to store a profile with the desired general color scheme for a set of SVGs. This takes the name of that page as input (presently profile=User:Wnt/Templates/Svgedit/Sampleprofile1) and a number (levels=8) and returns an array containing the desired output colors in numerical order. The ability to use a variable number of levels on a single profile file is intended to allow later modules to decide how many levels to use to plot the data, so that convenient/regular thresholds can be used that look sane in a figure legend. Note: extractprofile returns an array, p.testextract is used to print this as a string.