sponsor Vim development Vim logo Vim Book Ad

css_color.vim : CSS color preview

 script karma  Rating 722/301, Downloaded by 15721  Comments, bugs, improvements  Vim wiki

created by
Niklas Hofer
script type
This Script underlays the hexadecimal CSS colorcodes with their real color. The foreground color is selected appositely. So #FF0000 will look as hot as a fire engine!

An image for those who do not get my prose:
install details
Save it locally under .vim/after/syntax/css.vim

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
css.vim 0.7 2008-06-24 6.0 Niklas Hofer Patch (by Yusuke Yanbe): works in 256-color terminals
css.vim 0.6 2008-02-12 6.0 Niklas Hofer * do not double-define matchers
* correctly highlight if something like #666 is present before #666666 (thx to jmarshall for finding this)
* colorize named colors (w3c+extra)
* url for svn
css.vim 0.5 2008-02-10 6.0 Niklas Hofer Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.