code: def test_prepare_colors_for_markers(
      node_color, expected_marker_colors
  ):
      number_of_nodes = 3
      marker_colors = html_connectome._prepare_colors_for_markers(
          node_color,
          number_of_nodes,
      )
  
      assert marker_colors == expected_marker_colors
  
file_path: nilearn/nilearn/plotting/tests/test_html_connectome.py
imports: import json
  import numpy
  import pytest
  from nilearn.plotting import html_connectome
  from nilearn.plotting.js_plotting_utils import decode
  from .test_js_plotting_utils import check_html
label_desc: Use image node_id 2 for calling a global function with example usage: test_prepare_colors_for_markers(node_color, expected_marker_colors) without return types