{ "topic": "hexcode-html", "input_types": [ "text" ], "input_labels": [ "Hex code" ], "input_values": [ "©" ], "type": "Convert", "title": "Hex code to HTML code", "description": "This converter converts given Hex code to HTML code.", "category": "HTML Conversion Tools", "preview": true, "function": "function myFunc(arr) {\n let hexcodeString = arr[0];\n let decimalRepresentation = parseInt(hexcodeString.replace(/[^0-9a-fA-F]/g, ''), 16);\n return '&#' + decimalRepresentation.toString(10) + ';';\n }", "op_label": "HTML Code", "explanation": "This tool converts the given Hex code to HTML code." }