Spectrophotometer for fabric