function hexToRgb (hex) {
  const extractHex = (start, end) => parseInt(hex.slice(start, end), 16)
  return [extractHex(1, 3), extractHex(3, 5), extractHex(5, 7)]
}
This is an internal script that can be used in the thangEditor to normalize
all the Adobe Animate colors in the shapes to hex values that can be customized.