color.vim (298B)
1 command! ColorDarken if color#Test(expand('<cword>')) | exe "normal! \"_c/[a-fA-F0-9]*/e<CR>" . color#Darken(expand('<cword>')) . "<esc>F#" | endif 2 command! ColorLighten if color#Test(expand('<cword>')) | exe "normal! \"_c/[a-fA-F0-9]*/e<CR>" . color#Lighten(expand('<cword>')) . "<esc>F#" | endif