'Colour palette that works in colour and in greyscale?

I was just wondering if there is any colour palette in ggplot that works both in colour and in greyscale?

The background is that I want to submit a paper and the journal displays the online version in colour but the printed version will be black and white.

The colours are quite important in some of my figures, so I was wondering if there is some easy way to keep most of the information in the printed version.

Many thanks.



Solution 1:[1]

I think it could help to see the palettes in both raw and black&white version, like this (or with other palettes)

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Yacine Hajji