Maybe, this example from the Collection of examples from discourse.threejs.org can help.
GradientsMaterialColor
Links in source code