colors : Functions to manipulate color values (vim7).
script karma |
Rating 4/1,
Downloaded by 1030 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Mikolaj Machowski |
|
script type |
utility |
|
description |
Rgb2Hsv - change RGB into HSV colorspace
Hsv2Rgb - change HSV into RGB colorspace
r, g, b [0..255]
h [0..359]
s, v [0..255] sic!
Hex2Rgb - change Hex notation (#ffffff) into rgb [255,255,255]
Rgb2Hex - change RGB notation into Hex notation
Txt2Rgb - change text names of functions into RGB notation (names according to rgb.txt of X consortium)
In addition there is function ColorFormula which will tell if brightness and
color differences are good enough (according to W3C) to became background and text colors.
Good for testing colorschemes on HTML sites and Vim.
|
|
install details |
:so colors.vim
May be placed in plugin directory |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|