code: def is_foreground_light(color):
      """
      Determine if the background color need a light or dark foreground color
      """
      return rgb_to_hsl(*parse_color(color)[:3])[2] < 17.9
  
file_path: pygal/pygal/colors.py
imports: from __future__ import division
label_desc: Use image node_id 6 for calling a global function with example usage: is_foreground_light(color) and returns: unknown