There is an app for that, too: https://michelf.ca/projects/sim-daltonism/
It has a little window you can move over the screen to simulate a few varieties of color blindness.