Choose your desired color from the palette:
Double click on the result and select it, and copy it by using (Ctrl+C) keys on your keyboard and and then paste it using the (Ctrl+V) keys to your text editor.