use `style = components[0][2:]`, in case more than one digit is passed ('01' is valid and comes up sometimes, and technically '001' is also valid).

It probably makes sense to use int(style), rather than strings.