I think it should work on two conditions:
The base color IS a parameter
You use a vector variable, not scalar
EDIT: Yes, this works: