html obtiene propiedad de clase
let element = document.querySelector('.preset');
let style = getComputedStyle(element);
let bg = style.backgroundColor;
garzj
let element = document.querySelector('.preset');
let style = getComputedStyle(element);
let bg = style.backgroundColor;