Color Scheme Explorer

brushtrees base16 light

brushtrees
lightmutedlow-contrast
readability43/100light69%bg#e3efeffg#485867bg hue180°fg hue209°mean lightness63%saturation21%warmth-0.01mean hue184° cyanhue variation90°distinct hues6avg contrast2.6fg contrast6.2text on bgblackachromatic0

Colors

base00
base01
base02
base03
base04
base05
base06
base07
base08
base09
base0A
base0B
base0C
base0D
base0E
base0F
roygcbpb

Ramp is sorted by WCAG relative luminance; the strip maps the 8 ANSI roles (base08–base0F).

Code sample

package main

import "fmt"

const (
	Version  = "1.2.0" // release
	MaxTries = 3
)

type Server struct {
	Host string
	Port int
}

func (s *Server) start(tls bool) error {
	addr := fmt.Sprintf("%s:%d", s.Host, s.Port)
	if tls {
		return listen(addr, 443)
	}
	return listen(addr, 80)
}

Analysis

hue wheel
hue histogram
<1.21.2234.5≥7
contrast buckets
WCAG contrast matrix
vsbase00base01base02base03base04base05base06base07base08base09base0abase0bbase0cbase0dbase0ebase0f
base00·1.21.52.02.53.44.66.22.71.51.92.02.02.82.62.1
base011.2·1.31.62.12.83.85.12.21.31.51.71.62.32.11.7
base021.51.3·1.31.72.23.04.11.71.01.21.31.31.81.71.4
base032.01.61.3·1.31.72.33.21.41.31.01.01.01.41.31.1
base042.52.11.71.3·1.31.82.41.11.61.41.31.31.11.01.2
base053.42.82.21.71.3·1.31.81.32.21.81.71.71.21.31.6
base064.63.83.02.31.81.3·1.41.73.02.42.32.31.61.82.1
base076.25.14.13.22.41.81.4·2.34.03.33.13.22.22.42.9
base082.72.21.71.41.11.31.72.3·1.71.41.31.41.01.01.3
base091.51.31.01.31.62.23.04.01.7·1.21.31.31.81.71.4
base0a1.91.51.21.01.41.82.43.31.41.2·1.11.01.51.41.1
base0b2.01.71.31.01.31.72.33.11.31.31.1·1.01.41.31.1
base0c2.01.61.31.01.31.72.33.21.41.31.01.0·1.41.31.1
base0d2.82.31.81.41.11.21.62.21.01.81.51.41.4·1.11.3
base0e2.62.11.71.31.01.31.82.41.01.71.41.31.31.1·1.2
base0f2.11.71.41.11.21.62.12.91.31.41.11.11.11.31.2·

Each cell is the WCAG contrast ratio between the row color and the column color (darker cell = higher ratio). ≥4.5 passes AA for normal text, ≥7 passes AAA.

Terminal

user@host:~/dev/scheme$ ls -la
-rw-r--r-- 8.9K user main.go
-rw-r--r-- 5.8K user preview.go
-rwxr-xr-x 9.9M user colorexplorer
drwxr-xr-x 4096 user cache/
lrwxrwxrwx 11 user site -> public
-rw-r--r-- 2400 user bundle.zip
user@host:~/dev/scheme$ git diff --stat
diff --git a/main.go b/main.go
--- a/main.go
+++ b/main.go
@@ -12,7 +12,8 @@
-	addr := ":8080"
+	addr := ":9090"