Adds check that rgb sequence is of length 3