added a way to deal with low-contrast colors