Don't go by the color, go by the position on the connector.
But with a non-standard supply from Compaq, all bets are off. I see PSON, the question is does it get pulled low, or high to turn the supply on?
Older computer power supplies only watched the 5V line for out-of-range. Newer ones watch all the lines, so without a load they may shut down.