How does vim colorscheme work with gnome-terminal profile colors

colorsgnome-terminalvim

I am confused about how vim's color schemes seem to be working for me with my gnome terminal color settings.

I have installed the colorscheme sample pack:
http://www.vi-improved.org/color_sampler_pack/

All of these appear differently for me, and they change as I change my Foreground and Background colors and Palette in my gnome-terminal profile.

Is there some way to allow vim's color scheming to override these terminal settings?

Setting vim to use 256 colors using :set t_Co=256 changes the appearance, but does not solve the problem.

Best Answer

set your TERM environment variable to xterm-256color, as it is described in http://vim.wikia.com/wiki/256_colors_in_vim.