Are you, perhaps, trying to do this...

code:
break on cls
$ComDlg = CreateObject("MSComDlg.CommonDialog")
$ComDlg.ShowColor
? "Color selected " + $ComDlg.Color
get $

Reference: Color Dialog Box