vividchalk
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme vividchalk
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
tango
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme tango
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
moria
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme moria
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
moria
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme moria
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
anotherdark
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme anotherdark
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
northland
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme northland
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
kellys
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme kellys
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
colorer
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme colorer
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
twilight256
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme twilight256
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
motus
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme motus
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
zenburn
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme zenburn
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
synic
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme synic
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
jammy
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme jammy
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
fruity
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme fruity
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
earendel
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme earendel
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
earendel
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme earendel
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
oceandeep
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme oceandeep
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
lucius
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme lucius
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
inkpot
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme inkpot
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
oceanblack
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme oceanblack
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
nightshimmer
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme nightshimmer
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
darkbone
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme darkbone
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
settlemyer
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme settlemyer
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
rootwater
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme rootwater
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
neverness
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme neverness
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
herald
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme herald
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
dusk
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme dusk
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
tir_black
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme tir_black
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
zmrok
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme zmrok
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
xoria256
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme xoria256
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
fnaqevan
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme fnaqevan
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
wuye
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme wuye
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
rdark
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme rdark
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
jellybeans
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme jellybeans
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
ekvoli
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme ekvoli
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
brookstream
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme brookstream
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
railscasts
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme railscasts
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
impact
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme impact
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
robinhood
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme robinhood
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
maroloccio
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme maroloccio
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
desert256
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme desert256
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
chocolateliquor
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme chocolateliquor
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
mustang
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme mustang
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
vibrantink
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme vibrantink
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
wombat256
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme wombat256
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
neon
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme neon
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
wombat
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme wombat
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
moss
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme moss
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
darkspectrum
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme darkspectrum
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
camo
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme camo
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
tango2
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme tango2
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
two2tango
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme two2tango
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
twilight
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme twilight
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
freya
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme freya
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
no_quarter
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme no_quarter
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
candycode
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme candycode
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
olive
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme olive
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
molokai
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=darkcolorscheme molokai
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
autumn
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme autumn
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
pyte
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme pyte
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
tolerable
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme tolerable
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
vylight
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme vylight
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
eclipse
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme eclipse
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
silent
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme silent
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
xemacs
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme xemacs
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
nuvola
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme nuvola
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
papayawhip
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme papayawhip
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
sienna
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme sienna
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
cleanphp
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme cleanphp
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
dawn
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme dawn
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction
habilight
vim
12
NORMAL.vimrcunixutf-8☰ 0% 0:2
set background=lightcolorscheme habilight
123456789101112
NORMALcode.vimunixutf-8☰50%6:12
" Returns true if the color hex value is lightfunction! IsHexColorLight(color) abortlet 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 > 155endfunction