Denim, in American usage since the late 18th century, denotes a rugged cotton twill textile, in which the weft passes under two (twi- "double") or more warp fibers, producing the familiar diagonal ribbing identifiable on the reverse of the fabric, which distinguishes denim from cotton duck. Denim was traditionally colored blue with indigo dye to make blue "jeans," though "jean" denoted a different, lighter cotton textile. This is because our usage of jean comes from the French word for Genoa, Italy, for whom the first denim trousers were made. In 1789 George Washington toured a Massachusetts factory producing machine-woven cotton denim.
A similarly-woven traditional American cotton textile is the diagonal warp-striped hickory cloth that was once associated with railroadmen's overalls, in which blue or black contrasting with undyed white threads form the woven pattern. Hickory cloth was as rugged as hickory timber and was worn by "hicks," although that is not the origin of that slang word, from a nickname for "Richard". Records of a group of New Yorkers headed for the California gold fields in 1849 show that they took along four "Hickory shirts" apiece. Hickory cloth later furnished some "fatigue" pantaloons and shirts in the American Civil War.
Read more at Wikipedia.org