163 comments

[ 3.1 ms ] story [ 237 ms ] thread
Please share your favorite color scheme(s) !

My favorite for gvim/MacVim is molokai: http://winterdom.com/2008/08/molokaiforvim , seconded by vividchalk when i'm on the terminal: https://github.com/tpope/vim-vividchalk

Haven't found any good color scheme for iterm2 yet. Currently i'm using thayer: http://ecto-plazm.deviantart.com/gallery/

My favorite theme is the "Oblivion" one for gedit, but I don't use gedit, so I remade it for TextMate and Xcode 3/4.

http://natestedman.com/post/morrowind-for-textmate-xcode/

I am sitting on a mostly-done vim version right now as well, the GUI colors are all good, but I wiped out the terminal colors (I want them to just be the defaults). I'm not exactly a vim expert and I almost always use the terminal vim exclusively for git commits, which don't really need highlighting, so the motivation to fix those sort of disappeared.

(comment deleted)
Thanks for the kind words about molokai; took a bit to get it ported, but I've enjoyed it a lot since then. 99% of the props should go to the original authors of monokai and Hamish, though :)

Molokai ain't perfect, but I have yet to find one I like more for daily use.

Thanks for the port Tomas - been enjoying it for several years. Always leaves a 'mark' when people see it for the first time.
I love the Railscasts theme (http://railscasts.com/episodes/258-token-fields for example), which is what I usually use with Emacs.

For iTerm2 I copied over the colors from Visor.app's theme.. but Solarized looks really nice, so maybe I'll soon be using that instead.

(comment deleted)
I mostly use IR_black for vim and emacs, that's definitely a classic. But I'm also quite fond of a custom scheme I made; the colors mostly come from Textmate's Made of Code scheme. Here's a screenshot:

http://i.imgur.com/Ui93Q.jpg

If anyone is interested, the theme is here:

http://notendur.hi.is/ths46/thor.vim

The .vim file started out as IR_black, I just hacked at the colors until I was satisfied, so the code's not clean or anything :)

[I also have a OS X terminal theme to go with it, and an emacs version.]

I use molokai as well, but with some small tweaks (darker near-black background, lighter more visible comments, and a more visible line highlight). Inconsolata font for life, I've tried just about every other programming font out there and I always keep coming back.
is there a reason why most of these color schemes (including solarized), have a very low contrast for comments - making them difficult to read. I personally use the desert colorcheme (http://hans.fugal.net/vim/colors/desert.html)
Perhaps to make them "stand-out" less (so they don't distract you when you're skimming the code).
this is interesting - colorscheme as a reflection of programming philosophy.

I actually tend to read (and write) comments a LOT. Which is why, I simply am not able to use any colorscheme that tries to hide comments.

Yeah, I'm a huge fan of desert.
I like nuvola for VIM; it has clean, solid colors.
I've actually really grown accustomed to Visor's color theme and use it for all my terminal stuff (including vim). http://visor.binaryage.com/

IR_Black for Textmate though

I am using Vim on Windows via an app called Console2.

I am not sure how it handles terminal colors. So I just configured Console2 to use Solarized colors and then tried every colorscheme in Vim.

"morning" scheme worked best for me. It is so much easier to read my coworkers crammed code.

Those are both really nice. I'm finding after a year or so of IR_Black I'm wanting a change.

What's your terminal setup like?

Thank you.

I run tmux inside iTerm2.

I'll clean the theme up a little and make an isolated repository.

Looks decent in 8-color terminal as well.

In MacVim I tend to switch between molokai and ir_black.
I'm using a modified xoria256 in console vim. I gave it a darker background and added some missing colors.
desert256
(comment deleted)
I don't like this scheme and I don't buy the pseudo-science blurb. It's based on shades of blue. Our eyes are the least sensitive to blue. And what's up with the red and pink, is this some cruel joke?

I'll stick with Zenburn[1].

[1] http://slinky.imukuppi.org/zenburn/

What's the pseudo-science blurb?
The monotones have symmetric CIELAB lightness differences, so switching from dark to light mode retains the same perceived contrast in brightness between each value. Each mode is equally readable. The accent colors are based off specific colorwheel relations and subsequently translated to CIELAB to ensure perceptual uniformity in terms of lightness. The hues themselves, as with the monotone ab values, have been adjusted within a small range to achieve the most pleasing combination of colors.

Blurby enough? ;-)

What part of CIELAB (http://en.wikipedia.org/wiki/Lab_color_space) is pseudo-science? I don't see a section on the Wikipedia page about criticisms or controversies.
Point taken, I should have been less hand-wavy.

CIELAB might not be pseudo-science, but the claim that the application of CIELAB makes this a good scheme is, at best, dubious.

The bright red and pink don't blend with the other colors at all. Their jarring contrast (and red hue) could be adequate for an alert message, but not for innocent and frequent syntax elements.

Maybe there is a math model that captures all relevant aspects that make a good syntax highlighting color scheme. But this model clearly doesn't.

I hope that doesn't turn too many other folks off from the page and colorscheme. It may sound like a pseudoscience blurb, particularly if you aren't a color geek, but I sure didn't intend it to. It's all technically relevant and (I thought ;) tightly descriptive.

Lab was actually a big part of the initial inspiration for the colorscheme. I work a lot in lab space (Lab is more correct, but cumbersome to type) and for anything related to actual human vision it is head and shoulders above other color models/spaces. It's also awkward if you think in RGB and notoriously poorly supported outside of Photoshop (though most OS color management systems that I'm aware of translate everything back into Lab or a Lab equivalent).

The color relations are also foundational to palette creation in traditional graphic design. They are super useful in creating a palette that feels harmonious and (subjectively) unified.

I'd be happy to go into more detail, but I tend to go on at length and, much like when I get into talking about code with people not interested in code, talking about color spaces with those not interested is a sure fire turn off :)

Sounds like it could make an interesting blog post.
Zenburn is easy on the eyes but doesn't offer enough contrast.
I was a dedicated IR_Black user (in both VIM and Visual Studio), and didn't think highly of this at first. But after about an hour, it's grown on me. If I can scrape together some time, I'll throw together a VS2010 color scheme/theme.
Umm, don't use it then?
i tried a modified zenburn for a bit (i modify all my colour schemes so that the background is pure black), but went back to desert256 in the end. i just find it more pleasant to look at for hours at a time.
the emacs port seems a bit too low contrast

http://dropup.net/lz64u0ctpcge.png.html

After investigating this (and raising the aforementioned Emacs bug), I've concluded that sRGB hex colors - as used by Ethan - are simply not the right hex colors to enter in Emacs in order to get the desired results. Instead, Emacs apparently works with Generic RGB values, and after some laborious conversion calculations in Apple's "ColorSync Utility", I got the right results:

https://github.com/purcell/color-theme-sanityinc-solarized

The color fix will probably get into sellout's repo, so interested parties should prefer that one over mine.

Why would you use this color scheme on a whole operating system?
I know you were joking, but actually, why not? If the color scheme is easier on someone's eyes, wouldn't it make sense to use it everywhere? Personally I've often found using dark themes in my editor a bit jarring when switching to other tools like a file browser or terminal if the settings are drastically different.
I found the theme rather comfortable for using in the terminal; however I set TERM=xterm-256color so that vim would also pick up the light colour scheme—there seemed to be some issues with the background colour on gnome-terminal/Ubuntu.

Thanks!

When I was brave enough to test outside of urxvt and iterm2/terminal.app, it seemed that terminal emulators are all over the place in terms of background color support in vim terminal mode.

You might have tried this already (and it might not actually be related to your issue), but there is a variable you stick in your vimrc (let g:solarized_termtrans=1) to force it to take the background of your terminal emulator (useful only if you are running with the solarized colors in terminal mode).

I should come up with a some recommendations on setting TERM to ensure proper colorscheme support, but that way lies madness (for me at least).

Its really rare to see that much thought going into the aesthetics of stereotypically "geeky" applications like vim and terminals, even the website looks entirely different from pretty much every website I have seen around these tools

its a refreshing change, awesome work

Thanks very much. Looking back at my early hg repos on this project I refined it for about six months.

As an aside. I have a nominal post in my head contrasting the development and refinement of a colorscheme like this vs the infamous 41 shades of blue. There is room for refinement and testing in design, but I think it has to be coupled with a clear design goals and opinions.

Thank you for the work!

It would be very interesting to learn about the methods you used to create this.

Are you planning to create a palette with more shades? Some time ago I needed lighter Tango tones and created this extended palette: http://emilis.info/other/extended_tango/

It would be nice to have a script that would start with this as a base, but let you tune the contrast. I like the theme, but would like more contrast than this (I use small fonts, and I really feel like more contrast is necessary when doing so).
fwiw, there is a high contrast option in the vim colorscheme (let g:solarized_contrast="high").

I'm working on cleaning up some of the build scripts that generated specific files (the mutt directory has an ugly shell script as an example, there are better ways of course).

So, my mind is blown that you put so much effort into designing a color scheme, and thanks, but maybe put the img/ directory in your git repo somewhere else, so that a git pull of a color scheme doesn't take 50(!) megs.
I was afraid that would be a pain for people, sorry! You're right, I need to do this. There is a reason, which is that the exact same repo does double duty as the webpage (via Hakyll). It's super convenient because I have hakyll process the README out into an index.html (pulling webserver local imgs, so there is some sed magic).

I may try to break out the images as another subtree or make a website subtree. It was lower on my list of priorities, but clearly a pain to others cloning/forking. I'll try to sort it before beta2.

Fantastic work. If I happen upon some spare time I'll try and port it for TextMate users.
Please do, I'd really appreciate it.
Very nice! It is indeed amazing how much thought and effort was put into this, and it is appreciated. At some point, I'll have to convert for Visual Studio use if someone doesn't beat me to it.
I don't know about the rest of you, but my eyes literally started to hurt when I read the text on that page, presumably because of the color of the text v. background. Doesn't bode well for using it in vim...

Maybe it looks better on a different monitor? (I have a Samsung LCD.)

I found the color scheme easy to read.

Using a Dell monitor attached to a mac via DVI though, and calibrated to the best of my ability using the OSX calibration tool.

Bizarrely: I, too, had to strain to read the page; which I attributed, however, to the weight of the font: so thin that it won't render without artifacts.
What browser are you using? It looks great to me here in Chrome and Safari.
You may need to enable ClearType.

If on Windows XP. Display Properties > Appearance > Effects

I'm on Mac OSX; is there an equivalent?
For Snow Leopard: Open System Preferences, go to Appearance, and uncheck "Use LCD font smoothing when available"
Agreed. It's definitely not high enough contrast for such a thin font.
ONLINE STORE: ====== ( http://www.fullmalls.com )====

====== ( http://www.fullmalls.com )====

Air jordan(1-24)shoes $30

Handbags(Coach l v f e n d i d&g) $35

Tshirts (Polo ,ed hardy,lacoste) $15

Jean(True Religion,ed hardy,coogi) $30

Sunglasses(Oakey,coach,gucci,A r m a i n i) $15

New era cap $12

Bikini (Ed hardy,polo) $20

accept paypal and free shipping

====== ( http://www.fullmalls.com )====

====== ( http://www.fullmalls.com )====

====== ( http://www.fullmalls.com )====

====== ( http://www.fullmalls.com )====

====== ( http://www.fullmalls.com )====

====== ( http://www.fullmalls.com )====

====== ( http://www.fullmalls.com )====

====== ( http://www.fullmalls.com )====

Wow. Beautiful colors. Beautiful site. Very impressed by how much effort the author has put into this.
Is anybody willing to explain how to switch between light and dark? I can't seem to understand the scss snippet that he gives. Apparently, you only have to switch 4 colors, It would be nice to know what those colors were.
I'll be expanding the webpage to detail that, but essentially:

base03 = background base02 = background highlight base01 = background data (comments, etc.) base0 = normal text

The scheme was designed to allow for: base1 = optional bold/emphasis

Just swap the zeros (initially I was using minus/plus, e.g. base-1 and base+1 but this isn't usable across all apps) to swap dark and light modes. There is a good example of this in the vim script as well as the sass snippet (and the mutt compile script if you are a glutton for ugly bash scripts).

base3 = light background base2 = dark background etc.

You shouldn't need to do any of this manually, however. The vim script has a light/dark mode built in and where there isn't a way to toggle modes I am distributing light and dark versions (the terminal color schemes).

Thanks! I coulden't find a light version of the Xresources script though, that's why I was wondering about switching.
I would really love to have emacs, gnome-terminal and gedit themes made out of this color scheme.
the bold colors are bad, this makes most of my terminal apps annoying as hell (ncmpcpp, byobu, aptitude, htop)

for one thing, at least one of the bold text colors is the same as the background, this makes this text not even show up when it's present

it would be nice if not for this

(comment deleted)
(comment deleted)
Does this work in the console (vim)? I currently have desert256 working nicely in iTerm (xterm-256color). I'm away from my computer or I'd test it myself. Thanks! Never seen anyone put this much effort into a color scheme! I actually feel like I personally owe it to you to give this a shot.
Yes, but the 256 mode is actually an approximation of the real color theme. For exact colors you have to set up the 16 ansi colors of your terminal to the right colors and set a var in vimrc. See the docs for details.