Helper object in ThreeJS to adjust hue and saturation of an object's color property?

I have some objects in my ThreeJS that made from the THREE.MeshPhongMaterial:

I have looked through that web page and the only property I can find related to the color of the object is the color property. I would like to adjust the color property using the typical hue and saturation values you see like when you are in a graphics editing program. Is there a ThreeJS function or module I can use that will, give an source color, return a new value that is adjusted by the hue and saturation adjustment values you give it? If not ThreeJS, perhaps some other JS library?

The color property is a THREE.Color instance, so you can you use color.setHSL to use hue and saturation.

1 Like

Thanks, that’s what I needed.