function intToHex(intColor) {
  return `${intColor.toString(16).padStart(6, '0')}`;
}
@description Converts int color to HEX.
@param {number} intColor - Color between 0 and 16777215.
@returns {string} Hex string.
@example
const hex = intToHex(255);
console.log(hex === '0000FF');