Beautifully simple way to get a hex value from a number. Note that
d is a number. If you want a string as a hex XML valid code, use:
'&#x' + parseInt(number).toString(16).toUpperCase() + ';'
MY WORKSHOPMaster Next.js
Everything you need to master universal React with Next.js in a single intense master class. Includes full pass to ffconf, the web developer conf.