There surely is a shortcut in photoshop that allows me to swap foreground and background colour. In case you don't know what I am talking about, these are the two swatches in question:

photo showing photoshop UI with foreground and background colour swatches highlighted

If someone knows said shortcut I would be very grateful if he / she could tell me :)


2 Answers 2


You can swap foreground and background color with X key. Also, you can revert foreground and background colors to default (black and white) with D key - it's very handy when working with masks.


The shortcut for swapping the foreground and background colour is the X key on both Windows and macOS.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.