def parseStyle Create a dictionary from the value of an inline style attribute
def formatStyle Format an inline style attribute from a dictionary
def isColor(c) Determine if its a color we can use. If not, leave it unchanged.
def parseColor(c) Creates a rgb int array
def formatColoria(a) int array to #rrggbb
def formatColorfa(a) float array to #rrggbb
def formatColor3i(r,g,b) 3 ints to #rrggbb
def formatColor3f(r,g,b) 3 floats to #rrggbb


dictionary svgcolors a dictionary defining legal color names and corresponding color values