\r\n \r\n \r\n \r\n Theme colors\r\n \r\n \r\n \r\n \r\n Brand Primary Color
\r\n \r\n Brand Secondary Color
\r\n Brand Success Color
\r\n Brand Danger Color
\r\n Brand Warning Color
\r\n Brand Info Color
\r\n Brand Light Color
\r\n Brand Dark Color
\r\n \r\n \r\n \r\n \r\n \r\n Grays\r\n \r\n \r\n \r\n Brand 100 Color
\r\n Brand 200 Color
\r\n Brand 300 Color
\r\n Brand 400 Color
\r\n Brand 500 Color
\r\n Brand 600 Color
\r\n Brand 700 Color
\r\n Brand 800 Color
\r\n Brand 900 Color
\r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Colors.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!./Colors.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Colors.vue?vue&type=template&id=0569f5fc&\"\nimport script from \"./Colors.vue?vue&type=script&lang=js&\"\nexport * from \"./Colors.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CCol',{staticClass:\"mb-4\",attrs:{\"xl\":\"2\",\"md\":\"4\",\"sm\":\"6\",\"xs\":\"12\"}},[_c('div',{class:['theme-color w-75 rounded mb-3', _vm.color],style:({ paddingTop: '75%' })}),_vm._t(\"default\"),_c('ColorView')],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"w-100\"},[_c('tbody',[_c('tr',[_c('td',{staticClass:\"text-muted\"},[_vm._v(\"HEX:\")]),_c('td',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(this.hexColor))])]),_c('tr',[_c('td',{staticClass:\"text-muted\"},[_vm._v(\"RGB:\")]),_c('td',{staticClass:\"font-weight-bold\"},[_vm._v(_vm._s(this.bgColor))])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/* eslint-disable no-magic-numbers */\r\nconst rgbToHex = color => {\r\n if (typeof color === 'undefined') {\r\n throw new TypeError('Hex color is not defined')\r\n }\r\n\r\n if (color === 'transparent') {\r\n return '#00000000'\r\n }\r\n\r\n const rgb = color.match(/^rgba?[\\s+]?\\([\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?,[\\s+]?(\\d+)[\\s+]?/i)\r\n\r\n if (!rgb) {\r\n throw new Error(`${color} is not a valid rgb color`)\r\n }\r\n\r\n const r = `0${parseInt(rgb[1], 10).toString(16)}`\r\n const g = `0${parseInt(rgb[2], 10).toString(16)}`\r\n const b = `0${parseInt(rgb[3], 10).toString(16)}`\r\n\r\n return `#${r.slice(-2)}${g.slice(-2)}${b.slice(-2)}`\r\n}\r\n\r\nexport default rgbToHex\r\n","