AppScript Slides Get Hex Code of Text Box

For Apps Script, I’m trying to print the Hex code of the fill of text box.
Any ideas. I’m stuck once I get to .getSolidFill().


      let deck = SlidesApp.openById(masterDeckID);
      let slides = deck.getSlides();

      let masterSlide = slides[1];
      let slide = masterSlide.duplicate();
      slide.getShapes().forEach(shape => {
         if (shape.getFill().getSolidFill()!== null)
            console.log("Color String: " +shape.getFill().getSolidFill());