Coerce text to string.

Caused issues with numbers being .replace()'d.
Prevent possible invalid colors.

They're only theoretical, but better safe than sad.