Use the col= argument which is vectorized so that eg in
plot(1:5, 1:5, col=1:5)
you get five points in five different colors:

You can use the same logic to use just two or three colors among your data points. Understanding indexing is key in languages like R.