plotting – Coloring lines as a function of coordinates


I want to colorize lines as a function of coordinates in 3D. Here is my code. In this graphic I used one color. My aim is using a color function based on 3d coordinates.

points = RandomReal[{0, 20}, {100, 3}]
graph = Graphics3D[{Hue[0.67, 0.6, 0.6], Line[points]}, 
  PlotRange -> All, BoxRatios -> {1, 1, 1}, ImageSize -> 300]