Add ol.color.nth
Use ol.color.nth in vector-layer example