code: def _color_diff(color1, color2):
      """
      Uses 1-norm distance to calculate difference between two values.
      """
      if isinstance(color2, tuple):
          return sum(
              abs(color1[i] - color2[i]) for i in range(0, len(color2))
          )
      else:
          return abs(color1 - color2)
  
imports: import math
  import numbers
  from .None import Image, ImageColor, ImageFont
label_desc: Use image node_id 5 for calling a global function with example usage: _color_diff(color1, color2) and returns: sum, abs