Euclid: the selection of quiescent and star-forming galaxies using observed colours