function hslToRgb(h, s, l) {
  // Achromatic
  if (s === 0) {
    return [l, l, l];
  }
  const h2 = h / 360;

  const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
  const p = 2 * l - q;

  return [
    Math.round(hueToRgb(p, q, h2 + 1 / 3) * 255),
    Math.round(hueToRgb(p, q, h2) * 255),
    Math.round(hueToRgb(p, q, h2 - 1 / 3) * 255),
  ];
}
@description Converts an HSL color value to RGB.
@param {number} h - The hue.
@param {number} s - The saturation.
@param {number} l - The lightness/brightness.
@returns {Array} The RGB representation.
@example
const rgb = hslToRgb(260, 50, 50);