Consider this

const i = document.body.appendChild(document.createElement("input")); i.type = "checkbox"; const accentColor = getComputedStyle(i).accentColor; i.remove(); console.log(accentColor);

it prints out auto whereas I would like to have an rgb or an hex value representing the actual browser default accent-color.

Is there a way to do so?