“cmd.set_color” defines a new color using the red, green, and blue (RGB) color components.
cmd.set_color(string name, list-of-numbers rgb, int mode )
def set_color(name, rgb, mode=0, quiet=1):
set_color | cmd.recolor | api