src/js/extensions/colorSyntax.js
function changeDecColorToHex(color) {
  let hexColor = parseInt(color, 10);
  hexColor = hexColor.toString(16);
  hexColor = doubleZeroPad(hexColor);

  return hexColor;
}
function changeDecColorToHex(color) {
  let hexColor = parseInt(color, 10);
  hexColor = hexColor.toString(16);
  hexColor = doubleZeroPad(hexColor);

  return hexColor;
}
function changeDecColorToHex ( color ) { let hexColor = parseInt ( color , 10 ) ; hexColor = hexColor . toString ( 16 ) ; hexColor = doubleZeroPad ( hexColor ) ; return hexColor ; }
change individual dec color value to hex color
@param {string} color - individual color value
@returns {string} - zero padded color string
@ignore
change individual dec color value to hex color