跳到正文

Detuned

Detuned 是一套深色终端配色(纯黑),背景色 #000000,文字色 #c7c7c7,对比度 12.4:1

获取配置
背景色
#000000
前景色
#c7c7c7
文字对比度
12.42:1AAA
强调色对比度
10.64:1最低 4.38
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ ls -la
drwxr-xr-x 12 ada staff 384 Oct 30 09:12 .
drwxr-xr-x 8 ada staff 256 Oct 29 18:40 ..
-rw-r--r-- 1 ada staff 1.2K Oct 30 09:10 .gitignore
drwxr-xr-x 5 ada staff 160 Oct 30 09:12 src
drwxr-xr-x 3 ada staff 96 Oct 28 11:02 public
-rwxr-xr-x 1 ada staff 2.4K Oct 30 08:57 build.sh
-rw-r--r-- 1 ada staff 4.1K Oct 30 09:01 package.json
lrwxr-xr-x 1 ada staff 18 Oct 27 14:33 node_modules -> ../cache/modules
-rw-r--r-- 1 ada staff 48K Oct 26 10:15 logo.png
-rw-r--r-- 1 ada staff 9.8M Oct 25 21:47 backup.tar.gz
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ git status
On branch main
Your branch is ahead of 'origin/main' by 2 commits.
Changes to be committed:
new file: src/theme.css
modified: README.md
Changes not staged for commit:
modified: src/app.tsx
deleted: legacy/colors.js
Untracked files:
notes.md
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯

Detuned 的配置文件

16 种格式,都从同一份色板生成

Detuned

存到 ~/.config/ghostty/themes/Detuned,再在 config 或 config.ghostty 里写 theme = Detuned

更多 Ghostty 配色
原始文件
# Theme: Detuned (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/detuned?format=ghostty

palette = 0=#171717
palette = 1=#fe4386
palette = 2=#a6e32d
palette = 3=#e5da73
palette = 4=#0094d9
palette = 5=#9b37ff
palette = 6=#50b7d9
palette = 7=#c7c7c7
palette = 8=#686868
palette = 9=#fa80ac
palette = 10=#bde371
palette = 11=#fff27f
palette = 12=#00beff
palette = 13=#be9eff
palette = 14=#5ed7ff
palette = 15=#ffffff
background = #000000
foreground = #c7c7c7
cursor-color = #c7c7c7
cursor-text = #ffffff
selection-background = #c1deff
selection-foreground = #000000

Detuned 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)12.42 AAA
光标cursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)12.42 AAA
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
选区selection#c1deffrgb(193 222 255)hsl(212 100% 88%)oklch(89.0% 0.055 251.8)15.16 AAA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
黑color0#171717rgb(23 23 23)hsl(0 0% 9%)oklch(20.5% 0.000 0)1.17 低于 AA
红color1#fe4386rgb(254 67 134)hsl(339 99% 63%)oklch(67.4% 0.226 4.2)6.36 AA
绿color2#a6e32drgb(166 227 45)hsl(80 76% 53%)oklch(84.4% 0.206 127.4)13.65 AAA
黄color3#e5da73rgb(229 218 115)hsl(54 69% 67%)oklch(87.6% 0.125 103.2)14.61 AAA
蓝color4#0094d9rgb(0 148 217)hsl(199 100% 43%)oklch(63.5% 0.145 239.9)6.24 AA
品红color5#9b37ffrgb(155 55 255)hsl(270 100% 61%)oklch(58.7% 0.270 300.6)4.38 AA 大字号
青color6#50b7d9rgb(80 183 217)hsl(195 64% 58%)oklch(73.2% 0.106 222.9)9.12 AAA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)12.42 AAA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.77 AA 大字号
亮红color9#fa80acrgb(250 128 172)hsl(338 92% 74%)oklch(74.9% 0.155 358.7)8.75 AAA
亮绿color10#bde371rgb(189 227 113)hsl(80 67% 67%)oklch(86.4% 0.148 124.6)14.39 AAA
亮黄color11#fff27frgb(255 242 127)hsl(54 100% 75%)oklch(94.9% 0.137 102.9)18.26 AAA
亮蓝color12#00beffrgb(0 190 255)hsl(195 100% 50%)oklch(75.3% 0.154 232.2)9.81 AAA
亮品红color13#be9effrgb(190 158 255)hsl(260 100% 81%)oklch(76.5% 0.139 298.2)9.52 AAA
亮青color14#5ed7ffrgb(94 215 255)hsl(195 100% 68%)oklch(82.6% 0.121 223.0)12.64 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

关于 Detuned

Detuned 采用中性色调的深色背景(#000000),默认前景色为 #c7c7c7。正文的 WCAG 对比度为 12.42:1(AAA),12 种 ANSI 彩色槽位平均对比度 10.64:1,最低 4.38:1。

色板整体色彩饱和度适中,其中红色为 #fe4386、绿色为 #a6e32d、蓝色为 #0094d9、品红为 #9b37ff。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Detuned 相似的配色

数据来源:iTerm2 Color Schemes (MIT)