Drop down boxes for size and colour variations

How do i do variation drop down boxes one for size and one for colour ?