code: def test_id_to_rgb(self):
      # test int input
      self.assertEqual(id_to_rgb(16712829), [125, 4, 255])
  
      # test array input
      id_array = np.array(
          [[10827477, 2608984, 8416412], [3064503, 5782153, 15303538]]
      )
      color = np.array(
          [
              [
                  [213, 54, 165],
                  [88, 207, 39],
                  [156, 108, 128],
              ],
              [
                  [183, 194, 46],
                  [137, 58, 88],
                  [114, 131, 233],
              ],
          ]
      )
      self.assertTrue(np.allclose(id_to_rgb(id_array), color))
  
imports: import unittest
  import numpy
  from parameterized import parameterized
  from transformers.testing_utils import require_flax, require_tf, require_torch, require_vision
  from transformers.utils.import_utils import is_flax_available, is_tf_available, is_torch_available, is_vision_available
label_desc: Use image node_id 15 for calling the ImageTransformsTester obj's underlying member method code with example usage: obj.test_id_to_rgb() without return types