That would be tie-dye. Bits of fabric are bunched together, secured with rubber bands and dipped into various colors of dye to create the color effects.
Rubber bands are made of rubber because rubber is stretchy so it is able to wrap around materials such papers, pencils, poster boards, etc. Also, it is a strong material so it usually does not break.