Added assertion on color