Samples colours by their RBG values.