Does this help if you want to appending in list?
Snippet:
rgb_values = []
for idd in range(0, 255, 1):
value1 = int(255 * col_map.colors[idd][0])
value2 = int(255 * col_map.colors[idd][1])
value3 = int(255 * col_map.colors[idd][2])
rgb_values.append((value1, value2, value3))