Color is an important part of online identity and web development, as you can see from Paul Hebert Designs’ graphic, The Colors Used by the Ten Most Popular Sites.
It’s important to remember that when displayed on a monitor, color is additive. This means that mixing multiple colors together will create white, explains Sarah Drasner in A Nerd’s Guide to Color on the Web.
Two different ways of expressing additive color are:
https://www.instagram.com/p/BIoAWK9A6D4/
“A color is only a color in reference to another color,” says Drasner. Yellow text is easy to see against a black background, but not against a white one.
Some tools you can use to measure visibility include Colorable and Contrast-A.
For more tips on color and how to manipulate it, check out the guide from CSS-Tricks.