That is completely valid HTML5.
https://html5.validator.nu/?doc=https%3A%2F%2Fmeiert.com%2Fe...
https://html5.validator.nu/?doc=https%3A%2F%2Fmeiert.com%2Fe...
Inspectors will do things like display colors as their RGB triples i.e. rgb(x, y, z) in computed styles when a color has been defined in the HTML like in a body tag or table cell's bgcolor attribute.