GithubHelp home page GithubHelp logo

davclark / vim-colors-bluedrake Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michaelmalick/vim-colors-bluedrake

0.0 2.0 0.0 1.6 MB

A perceptually-based vim color scheme

Vim Script 100.00%

vim-colors-bluedrake's Introduction

Bluedrake Color Palette

Bluedrake is a carefully designed palette of 16 colors that was inspired by color palettes used for quantitative graphics. The colors in the bluedrake palette were chosen using the perceptually-based HCL (Hue-Chroma-Luminance) color space. The 8 base colors are a sequential color palette with all colors having the same hue (same as the blue accent hue). This sequential palette makes it easy to switch between light and dark color themes while using the same accent colors. The 8 accent colors are a qualitative color palette and were chosen so that no color stands out compared to another color (i.e., all accents have the same chroma and luminance but different hues). This means that different syntax groups are distinguished based on the location of the color on the color wheel rather than how bright the color is.

The basic design and structure underlying bluedrake is similar to the incredibly well designed solarized color palette by Ethan Schoonover. The main design difference is that in bluedrake the main content is colored using the blue accent color, whereas in solarized it is colored using a base color. In general, the base colors are not used for content in the bluedrake color scheme, resulting in all content being highlighted by colors that are the same hue.

Color Palette Light Theme

Features

  • Light and dark themes that use the same 16 color palette
  • Equally visible content colors
  • Base color palette with consistent hue
  • GUI and terminal compatible (see Installation for more info)

Installation

Unless you have a preferred installation method, I recommend installing pathogen and then simply run:

cd ~/.vim/bundle
git clone git://github.com/michaelmalick/vim-colors-bluedrake.git

Then add the following lines to your .vimrc file for the dark theme:

syntax enable
set background=dark
colorscheme bluedrake

or the following lines for the light theme:

syntax enable
set background=light
colorscheme bluedrake

Terminal Users

If you are using vim in a terminal, I highly recommend changing the default terminal colors to the specs listed in the Colors sections. Light and dark themes are available for OSX terminal.app in the terminal directory. Bluedrake defaults to using the terminal specified colors, if you are in a terminal that does not allow setting the colors, put let g:bluedrake_256=1 in your .vimrc before the colorscheme bluedrake line.

Options

If you want to toggle between the light and dark themes, add the following lines to your .vimrc file:

function! ColorSchemeToggle()
    if &background=="dark"
        let &background="light"
    else
        let &background="dark"
    endif
    exe "colorscheme bluedrake"
endfunction
nnoremap <silent> <F1> :call ColorSchemeToggle()<CR>

If you prefer a light color theme in the GUI and a dark theme in the terminal add the following lines to your .vimrc file:

if has('gui_running')
    set background=light
else
    set background=dark
endif

Colors

Listed below are the color specs for the bluedrake palette:

BLUEDRAKE HCL       TERMCOL   16 HEX     256 RGB
--------- --------- --------- -- ------- --- -----------
base03    232 30 15 brblack   8  #002d49 235 0   45  73
base02    232 28 21 black     0  #003951 236 0   57  81
base01    232 25 40 brgreen   10 #2f5468 24  47  84  104
base00    232 22 47 bryellow  11 #577284 242 87  114 132
base0     232 18 65 brblue    12 #8ea2b0 247 142 162 176
base1     232 15 72 brcyan    14 #b4c3cf 110 180 195 207
base2     232 12 91 white     7  #dae6f0 253 218 230 240
base3     232 10 97 brwhite   15 #edf8ff 254 237 248 255
yellow    97  90 55 yellow    3  #768f00 100 118 143 0
orange    52  90 55 brred     9  #b67800 136 182 120 0
red       7   90 55 red       1  #d75a69 167 215 90  105
magenta   322 90 55 brmagenta 13 #d74bb9 170 215 75  185
violet    277 90 55 magenta   5  #976ce2 99  151 108 226
blue      232 90 55 blue      4  #0094d4 32  0   148 212
cyan      187 90 55 cyan      6  #00a39a 37  0   163 154
green     142 90 55 green     2  #009e3c 28  0   158 60

Table Notes:

  1. 16 = terminal color code
  2. HCL = hue chroma luminance
  3. RGB = red green blue

License

The bluedrake color palette is MIT/X11 licensed. Copyright (c) 2014 Michael Malick

vim-colors-bluedrake's People

Contributors

michaelmalick avatar

Watchers

Dav Clark avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.