document.addEventListener('DOMContentLoaded', () => {
  
  // Get the background element
  const element = document.querySelector('#individual-background-color');
  
  // Get the background color of the element
  const backgroundColor = ColorTool.getBackgroundColor(element);
  
  // Get the brightness
  const backgroundBrightness = ColorTool.getBrightness(backgroundColor);
  
  // Now, depends on the background color we are able to set the color to white or black
  element.style.color = backgroundBrightness > 0.5 ? '#000' : '#fff';
});