Using # with a color was causing endless updates to the color schemes, because I was comparing with the # stripped off.