looking for a way to autodetect colors that are too dark