I have a JSON file (this is a small piece of it)
{
  "colors": {
    "1": {
      "name": "Dye Remover", 
      "base_rgb": [], 
      "cloth": {}, 
      "leather": {}, 
      "metal": {
        "brightness": 5, 
        "contrast": 1.05469, 
        "hue": 38, 
        "saturation": 0.101563, 
        "lightness": 1.36719, 
        "rgb": [
          96, 
          91, 
          83
        ]
      }
This isn't the end of the JSON... there is more - i just wanted to cut it off here. Also leather, cloth, and base_rgb all are correct they are not empty, they are just collapsed and I copy/pasted it that way. [TL;DR the JSON is 100% fine.]
I am wondering how to get the rgb value inside "metal" and use it to set the background color of a div.
I already have code that gets the array and selects different ones and prints their metal-rgb value. I need to know how to USE the array as rgb values.
 
    