I thought you said that the colour element of the openargs failed, and I thought it might be connected with the fact that openargs is a string.
I have sometimes passed multiple openargs elements with a string separator, and parsed the string accordingly, but without using a class.