Caprice theme

Caprice is a medium-to-high contrast syntax theme hinting towards the purple side of the spectrum. It comes in light and dark variants, while using a single 16-colour palette.

Packages or ports of it are available for Vim and Atom, as well as the Xfce4, RXVT-Unicode (urxvt), and XTERM terminal emulators.

Palette

Dark base

211B29
312B39
716B79
A19BA9

Light base

FEFBFC
EEEBEC
7E7B7C
2E2B2C

Accent values

983D4F
9A5D38
278975
585EBC
AC4D7A
A58A30
587EBC
8955A2

Base values from left to right: background, background highlight, secondary text, primary text.

Vim themes

All Prot16 themes (including Caprice) are bundled together as a plugin for Vim. To install them, use your favourite plugin manager. With vim-plug:

Plug 'protesilaos/prot16-vim'

Then specify your choice in .vimrc. Use either the light or dark variant:

" the light variant
colorscheme caprice_light

" or the dark variant
colorscheme caprice_dark

Atom packages

Light variant

Dark variant

  • Atom (or run apm install caprice-dark-syntax)
  • GitHub

Terminal emulators

For Caprice, the following terminal emulators are supported thus far:

Below are the specs to copy-paste into a terminal that is not supported yet.

211B29
983D4F
278975
A58A30
585EBC
AC4D7A
587EBC
EEEBEC
312B39
9A5D38
2E2B2C
716B79
7E7B7C
8955A2
A19BA9
FEFBFC

Terminal Base values (light theme)
Background: FEFBFC
Foreground: 2E2B2C
Cursor: 2E2B2C
Bold colour: 2E2B2C

Terminal Base values (dark theme)
Background: 211B29
Foreground: A19BA9
Cursor: A19BA9
Bold colour: A19BA9

Palette specs

# Palette variables and values

dbg=211B29 # Dark background
dhl=312B39 # Dark background highlight
dt2=716B79 # Dark background secondary text
dt1=A19BA9 # Dark background primary text

lbg=FEFBFC # Light background
lhl=EEEBEC # Light background highlight
lt2=7E7B7C # Light background secondary text
lt1=2E2B2C # Light background primary text

red=983D4F # Red variant
ora=9A5D38 # Orange variant
yel=A58A30 # Yellow variant
gre=278975 # Green variant

cya=587EBC # Cyan variant
blu=585EBC # Blue variant
vio=8955A2 # Violet variant
mag=AC4D7A # Magenta variant
# Terminal colour codes
# corresponding to the palette
# followed by termcol description

dbg=0      # black
red=1      # red
gre=2      # green
yel=3      # yellow
blu=4      # blue
mag=5      # magenta
cya=6      # cyan
lhl=7      # white
dhl=8      # brblack
ora=9      # brred
lt1=10     # brgreen
dt2=11     # bryellow
lt2=12     # brblue
vio=13     # brmagenta
dt1=14     # brcyan
lbg=15     # brwhite

Related projects

Note that this theme is part of the wider Prot16 collection. The Prot16 git repo includes all files (except the Atom packages) for each and every item.

Wish to contribute? Work can be done to port the themes to other applications. The program that handles the process is the Prot16 Generator (a bash script to build themes on demand or to work with other scripts in automating the process).

Application-specific Prot16 repositories: