JSFiddle - React, Tailwind, and code Playground

HTML

<input type="color" id="fontSel">
<div id="fontWrap">fontWrap</div>

CSS

#fontSel {
    position:absolute;
    left:-9999px;
    top:-9999px;
}

JavaScript

$("#fontWrap").click(function () {
    $("#fontSel")[0].click();
});