Thare are no universal VGA cable colour-code pinouts. Different cable/equipment makers use different colors in their cable.
I don't have colour-code pinout specific to hp 1702.
But I have one tip: check this generic documentation on how to identify signals on VGA monitor cables:
Identifying connections on unknown or cut monitor cables
http://www.epanorama.net/documents/pc/svga_wiring.html
"The procedure is described with respec to a cut cable but if you are trying to identify an unknown connector type on the monitor"