On the left, we have the graph I actually want (ignore please the slight transparency difference between legend and data colors). On the right, we have the PNG output from
Code:
graph export XXXX.png, replace
run immediately after the production of the graph. I tried
Code:
set printcolor asis
but this had no effect. I have had no problem producing PNG files with these colors previously. I have also tried exporting to PDF, getting different colors again than either of these.

Array