/* global coreui */ /** * -------------------------------------------------------------------------- * CoreUI Boostrap Admin Template (v4.2.2): colors.js * Licensed under MIT (https://coreui.io/license) * -------------------------------------------------------------------------- */ for (const element of document.querySelectorAll('.theme-color')) { const color = getComputedStyle(element, null).getPropertyValue('background-color'); const table = document.createElement('table'); table.classList.add('w-100'); table.innerHTML = `
HEX: | ${coreui.Utils.rgbToHex(color)} |
RGB: | ${color} |