Core toggle code in place, still lots to work out,

including hopefully getting required bgrins/TinyColor#64 merged, another
issue with TinyColor, making the button look selected, possibly
preserving case between conversions, and some odd case with RGBA showing
a different gradient than rgba.