def offset_random_rgb(seed, amount=<NUM_LIT:1>):
r, g, b = seed<EOL>results = []<EOL>for _ in range(amount):<EOL><INDENT>base_val = ((r + g + b) / <NUM_LIT:3>) + <NUM_LIT:1>  <EOL>new_val = base_val + (random.random() * rgb_max_val / <NUM_LIT:5>)  <EOL>ratio = new_val / base_val<EOL>results.append((min(int(r*ratio), rgb_max_val), min(int(g*ratio), rgb_max_val), min(int(b*ratio), rgb_max_val)))<EOL><DEDENT>return results[<NUM_LIT:0>] if len(results) > <NUM_LIT:1> else results<EOL>
Given a seed color, generate a specified number of random colors (1 color by default) determined by a randomized
offset from the seed.

:param seed:
:param amount:
:return: