They have nearby colors in some cases, meaning that for green the nearby colors are yellow and blue. Note that red and purple are nearby to each other as well.