Hmm, I'd prefer to leave the color undefined by default. Alternatively you could render Qt::gray when the color is invalid, to avoid rendering black.