togglehexrgb

toggles hex formatted string to rgb and rgb to hex, automatically detects input format