DYING CARPET

I bought new brown carpet from a friend. I used RIT fabric dye- black- and a clean full size plastic trash can. I filled it with hot water from the water heater. Two bottles of black dye, and left it in the sun all day. Then I rinsed it twice till the water ran clear. Turned out good.