Elastic properties of model colloids