Code:
cvrbutton:HookScript("OnClick", function() ShowColorPicker(cvred, cvgreen, cvblue, nil, myColorCallback) end)
The problem there is that you have to make sure that cvred, cvgreen, cvblue, and myColorCallback are all in scope or you'll just be passing nils