Fix #288, handle black colors correctly