def set_parameter(name, value):
	global dark_color, tint_color, tint_frac, tint_bright

	if name == 'dark_color':
		dark_color = parse_color_code(value)
	elif name == 'tint_color':
		tint_color = parse_color_code(value)
	elif name == 'tint_pct':
		tint_frac = int(value) / 100.0
	elif name == 'tint_bright':
		tint_bright = float(value)
	else:
		raise Exception("Unknown parameter: '%s'" % name)

# Parse command line.
Tests PokitDok.trading_partners lookup by trading_partner_id
dataset/ETHPy150Open freedoom/freedoom/lumps/colormap/colormap.py/set_parameter--crossover with--dataset/ETHPy150Open pokitdok/pokitdok-python/tests/test_api_client.py/TestAPIClient.test_trading_partners_trading_partner_id