Genetics are a big part of it, like you would expect, but its a bit more nuanced than what we learned in high school biology.
Not all screens and monitors are built to the same standards of color depth and accuracy, and your eyes also have their limits. Now, you can find out just how well you (and your devices) can tell ...