| 1 |
- {"version":3,"file":"color.umd.js","sources":["../src/config/keywords.ts","../src/index.ts"],"sourcesContent":["export enum ColorKeywords {\n 'transparent' = 'rgba(0,0,0,0)',\n 'black' = '#000000',\n 'silver' = '#C0C0C0',\n 'gray' = '#808080',\n 'white' = '#FFFFFF',\n 'maroon' = '#800000',\n 'red' = '#FF0000',\n 'purple' = '#800080',\n 'fuchsia' = '#FF00FF',\n 'green' = '#008000',\n 'lime' = '#00FF00',\n 'olive' = '#808000',\n 'yellow' = '#FFFF00',\n 'navy' = '#000080',\n 'blue' = '#0000FF',\n 'teal' = '#008080',\n 'aqua' = '#00FFFF',\n 'aliceblue' = '#f0f8ff',\n 'antiquewhite' = '#faebd7',\n 'aquamarine' = '#7fffd4',\n 'azure' = '#f0ffff',\n 'beige' = '#f5f5dc',\n 'bisque' = '#ffe4c4',\n 'blanchedalmond' = '#ffebcd',\n 'blueviolet' = '#8a2be2',\n 'brown' = '#a52a2a',\n 'burlywood' = '#deb887',\n 'cadetblue' = '#5f9ea0',\n 'chartreuse' = '#7fff00',\n 'chocolate' = '#d2691e',\n 'coral' = '#ff7f50',\n 'cornflowerblue' = '#6495ed',\n 'cornsilk' = '#fff8dc',\n 'crimson' = '#dc143c',\n 'cyan' = '#00ffff',\n 'darkblue' = '#00008b',\n 'darkcyan' = '#008b8b',\n 'darkgoldenrod' = '#b8860b',\n 'darkgray' = '#a9a9a9',\n 'darkgreen' = '#006400',\n 'darkgrey' = '#a9a9a9',\n 'darkkhaki' = '#bdb76b',\n 'darkmagenta' = '#8b008b',\n 'darkolivegreen' = '#556b2f',\n 'darkorange' = '#ff8c00',\n 'darkorchid' = '#9932cc',\n 'darkred' = '#8b0000',\n 'darksalmon' = '#e9967a',\n 'darkseagreen' = '#8fbc8f',\n 'darkslateblue' = '#483d8b',\n 'darkslategray' = '#2f4f4f',\n 'darkslategrey' = '#2f4f4f',\n 'darkturquoise' = '#00ced1',\n 'darkviolet' = '#9400d3',\n 'deeppink' = '#ff1493',\n 'deepskyblue' = '#00bfff',\n 'dimgray' = '#696969',\n 'dimgrey' = '#696969',\n 'dodgerblue' = '#1e90ff',\n 'firebrick' = '#b22222',\n 'floralwhite' = '#fffaf0',\n 'forestgreen' = '#228b22',\n 'gainsboro' = '#dcdcdc',\n 'ghostwhite' = '#f8f8ff',\n 'gold' = '#ffd700',\n 'goldenrod' = '#daa520',\n 'greenyellow' = '#adff2f',\n 'grey' = '#808080',\n 'honeydew' = '#f0fff0',\n 'hotpink' = '#ff69b4',\n 'indianred' = '#cd5c5c',\n 'indigo' = '#4b0082',\n 'ivory' = '#fffff0',\n 'khaki' = '#f0e68c',\n 'lavender' = '#e6e6fa',\n 'lavenderblush' = '#fff0f5',\n 'lawngreen' = '#7cfc00',\n 'lemonchiffon' = '#fffacd',\n 'lightblue' = '#add8e6',\n 'lightcoral' = '#f08080',\n 'lightcyan' = '#e0ffff',\n 'lightgoldenrodyellow' = '#fafad2',\n 'lightgray' = '#d3d3d3',\n 'lightgreen' = '#90ee90',\n 'lightgrey' = '#d3d3d3',\n 'lightpink' = '#ffb6c1',\n 'lightsalmon' = '#ffa07a',\n 'lightseagreen' = '#20b2aa',\n 'lightskyblue' = '#87cefa',\n 'lightslategray' = '#778899',\n 'lightslategrey' = '#778899',\n 'lightsteelblue' = '#b0c4de',\n 'lightyellow' = '#ffffe0',\n 'limegreen' = '#32cd32',\n 'linen' = '#faf0e6',\n 'magenta' = '#ff00ff',\n 'mediumaquamarine' = '#66cdaa',\n 'mediumblue' = '#0000cd',\n 'mediumorchid' = '#ba55d3',\n 'mediumpurple' = '#9370db',\n 'mediumseagreen' = '#3cb371',\n 'mediumslateblue' = '#7b68ee',\n 'mediumspringgreen' = '#00fa9a',\n 'mediumturquoise' = '#48d1cc',\n 'mediumvioletred' = '#c71585',\n 'midnightblue' = '#191970',\n 'mintcream' = '#f5fffa',\n 'mistyrose' = '#ffe4e1',\n 'moccasin' = '#ffe4b5',\n 'navajowhite' = '#ffdead',\n 'oldlace' = '#fdf5e6',\n 'olivedrab' = '#6b8e23',\n 'orange' = '#ffa500',\n 'orangered' = '#ff4500',\n 'orchid' = '#da70d6',\n 'palegoldenrod' = '#eee8aa',\n 'palegreen' = '#98fb98',\n 'paleturquoise' = '#afeeee',\n 'palevioletred' = '#db7093',\n 'papayawhip' = '#ffefd5',\n 'peachpuff' = '#ffdab9',\n 'peru' = '#cd853f',\n 'pink' = '#ffc0cb',\n 'plum' = '#dda0dd',\n 'powderblue' = '#b0e0e6',\n 'rosybrown' = '#bc8f8f',\n 'royalblue' = '#4169e1',\n 'saddlebrown' = '#8b4513',\n 'salmon' = '#fa8072',\n 'sandybrown' = '#f4a460',\n 'seagreen' = '#2e8b57',\n 'seashell' = '#fff5ee',\n 'sienna' = '#a0522d',\n 'skyblue' = '#87ceeb',\n 'slateblue' = '#6a5acd',\n 'slategray' = '#708090',\n 'snow' = '#fffafa',\n 'springgreen' = '#00ff7f',\n 'steelblue' = '#4682b4',\n 'tan' = '#d2b48c',\n 'thistle' = '#d8bfd8',\n 'tomato' = '#ff6347',\n 'turquoise' = '#40e0d0',\n 'violet' = '#ee82ee',\n 'wheat' = '#f5deb3',\n 'whitesmoke' = '#f5f5f5',\n 'yellowgreen' = '#9acd32',\n}\n","import { ColorKeywords } from './config/keywords';\n\nimport type { RgbValue, RgbaValue } from './types/index';\n\n/**\n * @description Test if a hex color\n * @param {string} color color string\n * @return {boolean} Test result\n */\nexport function isHex(color: string): boolean {\n if (typeof color !== 'string') return false;\n color = color.toLowerCase();\n\n return /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(color);\n}\n\n/**\n * @description Test if a rgb color\n * @param {string} color color string\n * @return {boolean} Test result\n */\nexport function isRgb(color: string): boolean {\n if (typeof color !== 'string') return false;\n color = color.toLowerCase();\n\n return /^(rgb\\(|RGB\\()/.test(color);\n}\n\n/**\n * @description Test if a rgba color\n * @param {string} color color string\n * @return {boolean} Test result\n */\nexport function isRgba(color: string): boolean {\n if (typeof color !== 'string') return false;\n color = color.toLowerCase();\n\n return /^(rgba|RGBA)/.test(color);\n}\n\n/**\n * @description Test if a rgb or rgba color\n * @param {string} color color string\n * @return {boolean} Test result\n */\nexport function isRgbOrRgba(color: string): boolean {\n return /^(rgb|rgba|RGB|RGBA)/.test(color);\n}\n\n/**\n * @description Get color by keyword\n * @param {keyof typeof ColorKeywords} keyword Color keyword like red, green and etc.\n * @return {ColorKeywords} Hex or rgba color\n */\nfunction getColorByKeyword(keyword: keyof typeof ColorKeywords): ColorKeywords {\n return ColorKeywords[keyword];\n}\n\n/**\n * @description Color validator\n * @param {string} color Hex|Rgb|Rgba color or color keywords\n * @return {string} Color (Invalid input will throw an error)\n */\nfunction validator(color: string): string {\n if (isHex(color) || isRgbOrRgba(color)) return color;\n\n const keywordColor = getColorByKeyword(color as keyof typeof ColorKeywords);\n if (!keywordColor) throw new Error(`Color: Invalid Input of ${color}`);\n\n return keywordColor;\n}\n\n/**\n * @description Get the rgb value of the hex color\n * @param {string} color Hex color\n * @return {RgbValue} Rgb value of the color\n */\nfunction getRgbValueFromHex(color: string): RgbValue {\n color = color.replace('#', '');\n\n if (color.length === 3)\n color = Array.from(color)\n .map((hexNum) => hexNum + hexNum)\n .join('');\n\n const colorValues = color.split('');\n\n return new Array(3)\n .fill(0)\n .map((_, i) => parseInt(`0x${colorValues[i * 2]}${colorValues[i * 2 + 1]}`)) as RgbValue;\n}\n\n/**\n * @description Get the rgb value of the rgb/rgba color\n * @param {string} color Hex color\n * @return {RgbValue} Rgb value of the color\n */\nfunction getRgbValueFromRgb(color: string): RgbValue {\n return color\n .replace(/rgb\\(|rgba\\(|\\)/g, '')\n .split(',')\n .slice(0, 3)\n .map((n) => parseInt(n)) as RgbValue;\n}\n\n/**\n * @description Get the Rgb value of the color\n * @param {string} color Hex|Rgb|Rgba color or color keyword\n * @return {RgbValue} Rgb value of the color\n */\nexport function getRgbValue(color: string): RgbValue {\n const validColor = validator(color);\n\n const lowerColor = validColor.toLowerCase();\n\n return isHex(lowerColor) ? getRgbValueFromHex(lowerColor) : getRgbValueFromRgb(lowerColor);\n}\n\n/**\n * @description Get the opacity of color\n * @param {string} color Hex|Rgb|Rgba color or color keyword\n * @return {number} Color opacity\n */\nexport function getOpacity(color: string): number {\n const validColor = validator(color);\n\n if (!isRgba(validColor)) return 1;\n\n return Number(\n validColor\n .toLowerCase()\n .split(',')\n .slice(-1)[0]\n .replace(/[)|\\s]/g, '')\n );\n}\n\n/**\n * @description Get the Rgba value of the color\n * @param {string} color Hex|Rgb|Rgba color or color keyword\n * @return {RgbaValue} Rgba value of the color\n */\nexport function getRgbaValue(color: string): RgbaValue {\n const rgbValue = getRgbValue(color);\n\n return rgbValue && ([...rgbValue, getOpacity(color)] as RgbaValue);\n}\n\n/**\n * @description Convert color to Rgb|Rgba color\n * @param {string} color Hex|Rgb|Rgba color or color keyword\n * @param {number} opacity The opacity of color\n * @return {string} Rgb|Rgba color\n */\nexport function toRgb(color: string, opacity?: number): string {\n const rgbValue = getRgbValue(color);\n\n return typeof opacity === 'number'\n ? `rgba(${rgbValue.join(',')},${opacity})`\n : `rgb(${rgbValue.join(',')})`;\n}\n\n/**\n * @description Convert color to Hex color\n * @param {string} color Hex|Rgb|Rgba color or color keyword\n * @return {string} Hex color\n */\nexport function toHex(color: string): string {\n if (isHex(color)) return color;\n\n const colorValue = getRgbValue(color);\n\n const format10To16 = (_: number): string => Number(_).toString(16).padStart(2, '0');\n\n return `#${colorValue.map(format10To16).join('')}`;\n}\n\n/**\n * @description Get Color from Rgb|Rgba value\n * @param {RgbValue|RgbaValue} value Rgb|Rgba color value\n * @return {string} Rgb|Rgba color\n */\nexport function getColorFromRgbValue(value: RgbValue | RgbaValue): string {\n if (!Array.isArray(value)) throw new Error(`getColorFromRgbValue: ${value} is not an array`);\n\n const { length } = value;\n if (length !== 3 && length !== 4)\n throw new Error(`getColorFromRgbValue: value length should be 3 or 4`);\n\n return (length === 3 ? 'rgb(' : 'rgba(') + value.join(',') + ')';\n}\n\n/**\n * @description Deepen color\n * @param {string} color Hex|Rgb|Rgba color or color keyword\n * @param {number} percent of Deepen (1-100)\n * @return {string} Rgba color\n */\nexport function darken(color: string, percent = 0): string {\n let rgbaValue = getRgbaValue(color);\n\n rgbaValue = rgbaValue\n .map((v, i) => (i === 3 ? v : v - Math.ceil(2.55 * percent)))\n .map((v) => (v < 0 ? 0 : v)) as RgbaValue;\n\n return getColorFromRgbValue(rgbaValue);\n}\n\n/**\n * @description Brighten color\n * @param {string} color Hex|Rgb|Rgba color or color keyword\n * @param {number} percent of brighten (1-100)\n * @return {string} Rgba color\n */\nexport function lighten(color: string, percent = 0): string {\n let rgbaValue = getRgbaValue(color);\n\n rgbaValue = rgbaValue\n .map((v, i) => (i === 3 ? v : v + Math.ceil(2.55 * percent)))\n .map((v) => (v > 255 ? 255 : v)) as RgbaValue;\n\n return getColorFromRgbValue(rgbaValue);\n}\n\n/**\n * @description Adjust color opacity\n * @param {string} color Hex|Rgb|Rgba color or color keyword\n * @param {number} percent of opacity\n * @return {string} Rgba color\n */\nexport function fade(color: string, percent = 100): string {\n const rgbValue = getRgbValue(color);\n\n return getColorFromRgbValue([...rgbValue, percent / 100] as RgbaValue);\n}\n"],"names":["ColorKeywords","isHex","color","isRgb","isRgba","isRgbOrRgba","getColorByKeyword","keyword","validator","keywordColor","getRgbValueFromHex","hexNum","colorValues","_","i","getRgbValueFromRgb","n","getRgbValue","lowerColor","getOpacity","validColor","getRgbaValue","rgbValue","toRgb","opacity","toHex","colorValue","format10To16","getColorFromRgbValue","value","length","darken","percent","rgbaValue","v","lighten","fade"],"mappings":"+OAAY,IAAAA,GAAAA,IACVA,EAAA,YAAgB,gBAChBA,EAAA,MAAU,UACVA,EAAA,OAAW,UACXA,EAAA,KAAS,UACTA,EAAA,MAAU,UACVA,EAAA,OAAW,UACXA,EAAA,IAAQ,UACRA,EAAA,OAAW,UACXA,EAAA,QAAY,UACZA,EAAA,MAAU,UACVA,EAAA,KAAS,UACTA,EAAA,MAAU,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