added config.h back
simpler color handling