Closed zlovatt closed 6 years ago
Using document.body.style.background with rgb requires that the rgb values are int, not float; see https://www.w3schools.com/html/html_colors.asp
document.body.style.background
rgb
Found that the colour wasn't setting until they were parsed as int, or rounded.
Using
document.body.style.background
withrgb
requires that the rgb values are int, not float; see https://www.w3schools.com/html/html_colors.aspFound that the colour wasn't setting until they were parsed as int, or rounded.