Fix correction of missing hash in colorValid()