code: def rgb_color_picker(obj, min_luminance=None, max_luminance=None):
      
      color_value = int.from_bytes(
          hashlib.md5(str(obj).encode('utf-8')).digest(),
          'little',
      ) % 0xffffff
      color = Color(f'#{color_value:06x}')
      if min_luminance and color.get_luminance() < min_luminance:
          color.set_luminance(min_luminance)
      elif max_luminance and color.get_luminance() > max_luminance:
          color.set_luminance(max_luminance)
      return color
docs: Modified version of colour.RGB_color_picker