Select a color and get the code:

Press a key and get the keycode: