How can I apply different colours to a GLTF model component?

Hello

I was able to display a model on a web page using three JS and add GUI folders to that model. Now I am trying to change the colour of the model components, but I am not able to do that. I have the JSON data, which i have consoled in a log now you view on my website here www.exthack.com

And this was consoled in log through t variable below is code please refer that

loader.load(
   'models/b.glb',
   function (gltf) {
       turboshaftModel  = gltf.scene;
           console.log(turboshaftModel);
           scene.add(gltf.scene)
           var t = gltf.scenes[0].children;
           console.log(t)

So how can I access this object and change its colour?

Thank You

you can traverse it.

scene.traverse((object) => {
  if (object.type === "Mesh") {
    object.material.color.set("hotpink")