Could you add the ability to preserve the case of the input value when toString() is called? For (an highly simplistic and silly) example, if I run tinycolor("RGB(39, 39, 39)") though TinyColor then call toString() in it without converting it, I get rgb(39, 39, 39) in return. I'm trying to implement an uppercase-lowercase converter in a program I can't change much of that uses TinyColor, and the always-lowercase return is making it a bit difficult.
Could you add the ability to preserve the case of the input value when
toString()
is called? For (an highly simplistic and silly) example, if I runtinycolor("RGB(39, 39, 39)")
though TinyColor then calltoString()
in it without converting it, I getrgb(39, 39, 39)
in return. I'm trying to implement an uppercase-lowercase converter in a program I can't change much of that uses TinyColor, and the always-lowercase return is making it a bit difficult.