function intToRgb(intColor) {
  // eslint-disable-next-line no-bitwise
  const red = intColor >> 16;
  // eslint-disable-next-line no-bitwise
  const green = (intColor - (red << 16)) >> 8;
  // eslint-disable-next-line no-bitwise
  const blue = intColor - (red << 16) - (green << 8);

  return [red, green, blue];
}
@description Converts int color to RGB object.
@param {number} intColor - Color between 0 and 16777215.
@returns {Array} [ red, green, blue ] object.
@example
const rgb = intToRgb(255);
{
 red: 255,
 blue: 0,
 green: 0,
}