Dynamic 3D cube

Hi Experts, Could anyone help me to make a 3D Dynamic Box? I want to let users to change the color and the height of the box. Please help me…