spectrum : use white text if bgcolor is dark (fix #265)