Andrian is absolutely correct but here's a fuller explanation.
The colors can be defined for any graph either in the Options section or in the main draw() method. The help for both is at
https://developers.google.com/chart/interactive/docs/customizing_charts
If there are more data points than colors then when the entire array is used then it starts from the beginning again. This also applies if you define your own array.
You can also define your own array anywhere inside the script and use that. For example
var clrArray=['#e0440e', '#e6693e', '#ec8f6e', '#f3b49f', '#f6c7b6'];
colors: clrArray
This is useful if for example you need to use more colorblind friendly colors.