Regex match hex_input and change colour accordingly. Use margin to nudge down hex text, not top. Only reset type=text input.