Update color picker’s color state on keyup, cut, paste and input event in the source element.