sponsor Vim development Vim logo Vim Book Ad

css-color : Preview colours in source code while editing

 script karma  Rating 171/79, Downloaded by 1547  Comments, bugs, improvements  Vim wiki

created by
Aristotle Pagaltzis
script type
A very fast color keyword highlighter with context-sensitive support for many language syntaxes.

Originally an obsessively optimised fork of vimscript #2150 plus extra features:

• multiple color highlights per line
• rgb(), rgba(), hsl() support for CSS
• support for various alternative CSS languages like Less and Sass
• support for various non-CSS languages like VimL, Javascript, and Python

Screenshot available at
install details
Cloning from GitHub using a plugin manager is recommended.

Otherwise download and unzip in your .vim directory.

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-color.zip 8bf943681f 2022-01-01 7.0 Aristotle Pagaltzis Drastically improved performance; additional improved performance in NeoVim; significantly improved colour fidelity in 256-colour terminals; support for RGBA colours in hex notation; highlighting for DOS/Windows INI,Typescript,Elm,Clojure/ClojureScript,QML,Vala,C/C++,and Shell (sh/ksh/bash, zsh, csh, tcsh, fish) files as well as i3wm,kitty,nix,tmux,and generic .cfg configuration files
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.
Vim at Github