def color_validator(optdict, name, value):
 return optik_ext.check_color(None, name, value)

def color_validator ( optdict , name , value ) : return optik_ext . check_color ( None , name , value )
validate and return a valid color for option of type color .