Wouldn't it be easier to just ask something like "is red a color?" To one guard?
I think the original riddle also had 2 doors and the question was something like "which door would your partner say leads to freedom" iirc, which makes both point to the one that leads to death.