I have a problem with setting the data generated from an api to a background style using javascript. I tried adding a static value like `element.style.backgroundColor = blue` and it works but I have no luck with `element.style.backgroundColor = colour`.

Javascript with data:

```
scheme.forEach(colour => {
  console.log(colour) // successful data collected
  const column = document.createElement('div')
  column.setAttribute('class', 'column')

  app.appendChild(column)
  column.style.backgroundColor = colour
})

```

Sample data from Console Log:

[![enter image description here](https://i.stack.imgur.com/Hk534.png)](https://i.stack.imgur.com/Hk534.png)