Improve toolbox color preview widget as discussed in #27.