docs: function contrast(color) {
      const rgb = [parseInt(color.substring(1, 3), 16),
        parseInt(color.substring(3, 5), 16),
        parseInt(color.substring(5, 7), 16)];
      for (let i = 0; i < 3; i++) {
        rgb[i] = 255 - rgb[i];
      }
      return `rgb(${rgb[0]}, ${rgb[1]}, ${rgb[2]})`;
    }