vimcolorschemes

filter by:

405 color schemes

Go to page: vim_colors, by hannakalinowska
tcsoftvim
12
set background=lightcolorscheme
NORMAL.vimrcunixutf-8 0% 0:2
123456789101112
" Returns true if the color hex value is light
function! IsHexColorLight(color) abort
let l:raw_color = trim(a:color, '#')

let l:red = str2nr(substitute(l:raw_color, '(.{2}).{4}', '1', 'g'), 16)
let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)
let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)

let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000

return l:brightness > 155
endfunction
NORMALcode.vimunixutf-850%6:12
hannakalinowska
29

vim_colors

Colorschemes for Vim
Go to page: vim-colors, by mgutz
idlevim
12
set background=lightcolorscheme
NORMAL.vimrcunixutf-8 0% 0:2
123456789101112
" Returns true if the color hex value is light
function! IsHexColorLight(color) abort
let l:raw_color = trim(a:color, '#')

let l:red = str2nr(substitute(l:raw_color, '(.{2}).{4}', '1', 'g'), 16)
let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)
let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)

let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000

return l:brightness > 155
endfunction
NORMALcode.vimunixutf-850%6:12
mgutz
14

vim-colors

My gVim colorschemes.
Go to page: vimcolors, by hariton
zellnervim
12
set background=lightcolorscheme
NORMAL.vimrcunixutf-8 0% 0:2
123456789101112
" Returns true if the color hex value is light
function! IsHexColorLight(color) abort
let l:raw_color = trim(a:color, '#')

let l:red = str2nr(substitute(l:raw_color, '(.{2}).{4}', '1', 'g'), 16)
let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)
let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)

let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000

return l:brightness > 155
endfunction
NORMALcode.vimunixutf-850%6:12
hariton
1

vimcolors

The collection of color schemes by Maverick Woo (with some fixes and additions) for easy installation as plugin.
Go to page: vim-themes, by itspriddle
githubvim
12
set background=lightcolorscheme
NORMAL.vimrcunixutf-8 0% 0:2
123456789101112
" Returns true if the color hex value is light
function! IsHexColorLight(color) abort
let l:raw_color = trim(a:color, '#')

let l:red = str2nr(substitute(l:raw_color, '(.{2}).{4}', '1', 'g'), 16)
let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)
let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)

let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000

return l:brightness > 155
endfunction
NORMALcode.vimunixutf-850%6:12
itspriddle
1

vim-themes

My vim themes
Go to page: vim-pyte, by therubymug
pytevim
12
set background=lightcolorscheme pyte
NORMAL.vimrcunixutf-8 0% 0:2
123456789101112
" Returns true if the color hex value is light
function! IsHexColorLight(color) abort
let l:raw_color = trim(a:color, '#')

let l:red = str2nr(substitute(l:raw_color, '(.{2}).{4}', '1', 'g'), 16)
let l:green = str2nr(substitute(l:raw_color, '.{2}(.{2}).{2}', '1', 'g'), 16)
let l:blue = str2nr(substitute(l:raw_color, '.{4}(.{2})', '1', 'g'), 16)

let l:brightness = ((l:red * 299) + (l:green * 587) + (l:blue * 114)) / 1000

return l:brightness > 155
endfunction
NORMALcode.vimunixutf-850%6:12
therubymug
10

vim-pyte

Henning Hasemann's pyte vim theme packaged to work with Tim Pope's pathogen plugin.