title: glTF - setting colors - baseColorFactor
body: <p>I am trying to manipulate a gltf 3D model, however I am not sure how the colors are derived. All the numbers in the baseColorFactor between 0 to 1 (or less than 1).</p>
  <p>This is surely not RGB nor RGBA (I took this page as a reference: <a href="https://www.december.com/html/spec/colorrgbadec.html" rel="nofollow noreferrer">https://www.december.com/html/spec/colorrgbadec.html</a>)</p>
  <pre><code> &quot;materials&quot; : [
      {
          &quot;doubleSided&quot; : true,
          &quot;name&quot; : &quot;Material&quot;,
          &quot;pbrMetallicRoughness&quot; : {
              &quot;baseColorFactor&quot; : [
                  0.8000000715255737,
                  0.91026470959186554,
                  0.909551368653774261,
                  1
              ],
              &quot;metallicFactor&quot; : 0,
              &quot;roughnessFactor&quot; : 0.4000000059604645
          }
      },
  </code></pre>
  <p>Any pointers would be most appreciated.</p>