html Sock Puzzler

You've been locked in a room with 10 different colored socks, but you're not sure how many you'll need.

Red Sock Blue Sock Green Sock Yellow Sock Purple Sock Orange Sock Pink Sock Brown Sock Grey Sock Black Sock