The Gradient Map adjustment maps the equivalent greyscale range of a project to a specified colour gradient. This provides an effective (and creative) way of recolouring.
For context toolbar settings, see the Gradient editing topic.