A Vim plugin to colorize all text in the form #rrggbb or #rgb. See the comment at the beginning of the plugin for more.
You can install the plugin with pathogen by copying and pasting the below snippet.
cd ~/.vim/bundle git clone https://github.com/lilydjwg/colorizer
Makefile is used to quickly install/uninstall the script.
This plugin is still inefficient for large files. I sugguest you enable it only when you need it, or set the
g:colorizer_maxlines variable. There seems to be no way to get current displaying lines and do work with them in Vim.