colors.js 777 B

123456789101112131415
  1. "use strict";
  2. /* global rgbToHex */
  3. /**
  4. * --------------------------------------------------------------------------
  5. * CoreUI Free Boostrap Admin Template (v2.1.15): colors.js
  6. * Licensed under MIT (https://coreui.io/license)
  7. * --------------------------------------------------------------------------
  8. */
  9. $('.theme-color').each(function () {
  10. var Color = $(this).css('backgroundColor');
  11. $(this).parent().append("\n <table class=\"w-100\">\n <tr>\n <td class=\"text-muted\">HEX:</td>\n <td class=\"font-weight-bold\">" + rgbToHex(Color) + "</td>\n </tr>\n <tr>\n <td class=\"text-muted\">RGB:</td>\n <td class=\"font-weight-bold\">" + Color + "</td>\n </tr>\n </table>\n ");
  12. });
  13. //# sourceMappingURL=colors.js.map