changes ImagePainter to get colors from gui/Colors.h