How do you change generated to object coordinates without changing the xyz
is it a plane?
You should get it right if that's just a plane.
try applying transformations!
if that's not a plane then fiddle with those numbers and you will get it!
(if it's not a plane then the z dimension matters and the origin would be at the center, so it will not show that color as your looking it on a surface.