Studying colours with a smartphone