Color Scheme Explorer

Solarized Light curated light

by Ethan Schoonover · solarized
lightcolorfulvividwarm
readability34/100light85%bg#fdf6e3fg#657b83bg hue44°fg hue196°mean lightness48%saturation59%warmth+0.14mean hue74° yellowhue variation110°distinct hues7avg contrast4.7fg contrast4.1text on bgblackachromatic0

Colors

base3
base2
base1
base0
base00
base01
base02
base03
yellow
orange
red
magenta
violet
blue
cyan
green
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
vsbase3base2base1base0base00base01base02base03yelloworangeredmagentavioletbluecyangreen
base3·1.12.52.94.15.012.113.93.04.34.34.24.13.42.93.0
base21.1·2.22.63.64.410.612.32.63.83.83.73.63.02.62.6
base12.52.2·1.21.72.04.95.61.21.71.71.71.61.41.21.2
base02.92.61.2·1.41.74.14.71.01.51.51.41.41.21.01.0
base004.13.61.71.4·1.22.93.41.41.01.01.01.01.21.41.4
base015.04.42.01.71.2·2.42.81.71.21.21.21.21.51.71.7
base0212.110.64.94.12.92.4·1.24.12.82.82.93.03.54.14.1
base0313.912.35.64.73.42.81.2·4.73.33.23.33.44.14.84.7
yellow3.02.61.21.01.41.74.14.7·1.41.41.41.41.11.01.0
orange4.33.81.71.51.01.22.83.31.4·1.01.01.11.31.51.4
red4.33.81.71.51.01.22.83.21.41.0·1.01.11.31.51.4
magenta4.23.71.71.41.01.22.93.31.41.01.0·1.01.21.41.4
violet4.13.61.61.41.01.23.03.41.41.11.11.0·1.21.41.4
blue3.43.01.41.21.21.53.54.11.11.31.31.21.2·1.21.1
cyan2.92.61.21.01.41.74.14.81.01.51.51.41.41.2·1.0
green3.02.61.21.01.41.74.14.71.01.41.41.41.41.11.0·

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"