morhetz / gruvbox

Retro groove color scheme for Vim
13.63k stars 1.11k forks source link

Colors not vivid #279

Closed CaptainDaVinci closed 4 years ago

CaptainDaVinci commented 5 years ago

I am facing an issue where the colors on my terminal, URxvt, are not the same as the ones shown in the gallery.

![Uploading 2019-05-09-210928_1920x1080_scrot.png…]()

$ echo $TERM
rxvt-unicode-256color

I've tried the suggestions in terminal-specific, but none of them seem to work for me. Although running the gruvbox_256palette.sh does seem to make a slight difference, it is till not the same as that shown in the gallery.

Relevant lines of vimrc

 set t_8f=^[[38;2;%lu;%lu;%lum        " set foreground color
 set t_8b=^[[48;2;%lu;%lu;%lum        " set background color
 colorscheme gruvbox
 set t_Co=256                         " Enable 256 colors
 set termguicolors                    " Enable GUI colors for the terminal to get truecolor

Edit: I tried using the suckless-terminal (fresh install) but the colors rendered is the same as that shown above.

XVilka commented 5 years ago

I recommend to switch the terminal instead. There are so many options to choose from: https://github.com/termstandard/colors#now-supporting-true-color

Also you can try st's fork instead of vanilla st - https://github.com/gnotclub/xst/

micharbet commented 5 years ago

H Yashi, Anton is right. I recently experimented with colors on terminal and realized that rxvt don't accept OSC codes - or at least the subset responsible for RGB settings of color palette. Try another termina, XTerm should work better, VTE based terminals too (Gnome terminal, Terminator, XFCE terminal ...)

Cheers -michael-

On Wed, 22 May 2019 at 08:24, Anton Kochkov notifications@github.com wrote:

I recommend to switch the terminal instead. There are so many options to choose from: https://github.com/termstandard/colors#now-supporting-true-color

Also you can try st's fork instead of vanilla st - https://github.com/gnotclub/xst/

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/morhetz/gruvbox/issues/279?email_source=notifications&email_token=AB77JAEYPGTWCIN7EBZHYM3PWTRJBA5CNFSM4HL27DN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV6A2JA#issuecomment-494669092, or mute the thread https://github.com/notifications/unsubscribe-auth/AB77JAGNVWL3ACYLW2QQTLTPWTRJBANCNFSM4HL27DNQ .

-- - - .. -.-. ....

michael arbet