Color Scheme Explorer

Catppuccin Frappé catppuccin dark

by Catppuccin contributors · catppuccin
darkcolorfulhigh-contrast
readability67/100dark93%bg#303446fg#c6d0f5bg hue229°fg hue227°mean lightness63%saturation44%warmth+0.00mean hue270° violethue variation90°distinct hues9avg contrast5.3fg contrast8.1text on bgwhiteachromatic0

Colors

rosewater
flamingo
pink
mauve
red
maroon
peach
yellow
green
teal
sky
sapphire
blue
lavender
text
subtext1
subtext0
overlay2
overlay1
overlay0
surface2
surface1
surface0
base
mantle
crust
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
vsrosewaterflamingopinkmauveredmaroonpeachyellowgreentealskysapphirebluelavendertextsubtext1subtext0overlay2overlay1overlay0surface2surface1surface0base
rosewater·1.21.21.61.91.61.51.21.31.41.21.41.71.31.11.31.62.02.43.14.05.26.88.9
flamingo1.2·1.01.31.61.31.31.01.11.21.01.21.41.11.11.11.31.62.12.63.34.35.77.5
pink1.21.0·1.31.61.31.31.01.11.21.01.21.41.11.11.11.41.72.12.63.44.45.87.5
mauve1.61.31.3·1.21.01.01.41.31.11.31.11.01.21.41.21.01.21.52.02.53.34.35.6
red1.91.61.61.2·1.21.21.61.51.41.61.31.11.41.71.51.21.01.31.62.12.73.64.6
maroon1.61.31.31.01.2·1.01.41.31.11.31.11.01.21.41.21.01.21.51.92.53.24.35.6
peach1.51.31.31.01.21.0·1.31.21.11.31.11.11.21.41.21.01.31.62.02.63.44.55.8
yellow1.21.01.01.41.61.41.3·1.11.21.01.21.41.11.11.11.41.72.12.73.44.45.97.6
green1.31.11.11.31.51.31.21.1·1.11.01.11.31.11.11.11.31.61.92.53.24.15.57.1
teal1.41.21.21.11.41.11.11.21.1·1.11.01.21.01.31.11.21.41.82.22.93.74.96.4
sky1.21.01.01.31.61.31.31.01.01.1·1.21.41.11.11.11.31.62.02.63.34.35.67.3
sapphire1.41.21.21.11.31.11.11.21.11.01.2·1.21.11.31.11.11.41.72.22.83.64.86.3
blue1.71.41.41.01.11.01.11.41.31.21.41.2·1.31.51.31.01.21.51.92.43.14.15.3
lavender1.31.11.11.21.41.21.21.11.11.01.11.11.3·1.21.01.21.51.82.33.03.95.26.7
text1.11.11.11.41.71.41.41.11.11.31.11.31.51.2·1.21.51.82.22.83.64.76.28.1
subtext11.31.11.11.21.51.21.21.11.11.11.11.11.31.01.2·1.21.51.92.43.03.95.26.8
subtext01.61.31.41.01.21.01.01.41.31.21.31.11.01.21.51.2·1.21.51.92.53.24.35.6
overlay22.01.61.71.21.01.21.31.71.61.41.61.41.21.51.81.51.2·1.21.62.02.63.54.5
overlay12.42.12.11.51.31.51.62.11.91.82.01.71.51.82.21.91.51.2·1.31.62.12.83.6
overlay03.12.62.62.01.61.92.02.72.52.22.62.21.92.32.82.41.91.61.3·1.31.72.22.9
surface24.03.33.42.52.12.52.63.43.22.93.32.82.43.03.63.02.52.01.61.3·1.31.72.2
surface15.24.34.43.32.73.23.44.44.13.74.33.63.13.94.73.93.22.62.11.71.3·1.31.7
surface06.85.75.84.33.64.34.55.95.54.95.64.84.15.26.25.24.33.52.82.21.71.3·1.3
base8.97.57.55.64.65.65.87.67.16.47.36.35.36.78.16.85.64.53.62.92.21.71.3·

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"