Color classes correction