跳到正文

Darktooth

Darktooth 是一套深色终端配色(柔和),背景色 #1d2021,文字色 #a89984,对比度 5.9:1

获取配置
背景色
#1d2021
前景色
#a89984
文字对比度
5.90:1AA
强调色对比度
5.69:1最低 2.49
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
❯

Darktooth 的配置文件

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

Darktooth

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

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

palette = 0=#1d2021
palette = 1=#fb543f
palette = 2=#95c085
palette = 3=#fac03b
palette = 4=#0d6678
palette = 5=#8f4673
palette = 6=#8ba59b
palette = 7=#a89984
palette = 8=#665c54
palette = 9=#fb543f
palette = 10=#95c085
palette = 11=#fac03b
palette = 12=#0d6678
palette = 13=#8f4673
palette = 14=#8ba59b
palette = 15=#fdf4c1
background = #1d2021
foreground = #a89984
cursor-color = #a89984
cursor-text = #1d2021
selection-background = #3c3b38
selection-foreground = #a89984

Darktooth 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)—
前景色foreground#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.90 AA
光标cursor#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.90 AA
光标文字cursorText#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)1.00 低于 AA
选区selection#3c3b38rgb(60 59 56)hsl(45 3% 23%)oklch(35.2% 0.005 91.5)1.46 低于 AA
选区文字selectionText#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.90 AA
黑color0#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)1.00 低于 AA
红color1#fb543frgb(251 84 63)hsl(7 96% 62%)oklch(67.2% 0.207 30.4)5.03 AA
绿color2#95c085rgb(149 192 133)hsl(104 32% 64%)oklch(76.2% 0.094 137.4)7.93 AAA
黄color3#fac03brgb(250 192 59)hsl(42 95% 61%)oklch(83.9% 0.155 83.6)9.89 AAA
蓝color4#0d6678rgb(13 102 120)hsl(190 80% 26%)oklch(47.1% 0.080 216.2)2.49 低于 AA
品红color5#8f4673rgb(143 70 115)hsl(323 34% 42%)oklch(50.0% 0.114 344.1)2.57 低于 AA
青color6#8ba59brgb(139 165 155)hsl(157 13% 60%)oklch(69.9% 0.032 170.1)6.21 AA
白color7#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.90 AA
亮黑color8#665c54rgb(102 92 84)hsl(27 10% 36%)oklch(48.2% 0.018 61.0)2.52 低于 AA
亮红color9#fb543frgb(251 84 63)hsl(7 96% 62%)oklch(67.2% 0.207 30.4)5.03 AA
亮绿color10#95c085rgb(149 192 133)hsl(104 32% 64%)oklch(76.2% 0.094 137.4)7.93 AAA
亮黄color11#fac03brgb(250 192 59)hsl(42 95% 61%)oklch(83.9% 0.155 83.6)9.89 AAA
亮蓝color12#0d6678rgb(13 102 120)hsl(190 80% 26%)oklch(47.1% 0.080 216.2)2.49 低于 AA
亮品红color13#8f4673rgb(143 70 115)hsl(323 34% 42%)oklch(50.0% 0.114 344.1)2.57 低于 AA
亮青color14#8ba59brgb(139 165 155)hsl(157 13% 60%)oklch(69.9% 0.032 170.1)6.21 AA
亮白color15#fdf4c1rgb(253 244 193)hsl(51 94% 87%)oklch(96.2% 0.066 99.2)14.75 AAA

关于 Darktooth

Darktooth 采用中性色调的深色背景(#1d2021),默认前景色为 #a89984。正文的 WCAG 对比度为 5.90:1(AA),12 种 ANSI 彩色槽位平均对比度 5.69:1,最低 2.49:1。

色板整体色彩饱和度适中,其中红色为 #fb543f、绿色为 #95c085、蓝色为 #0d6678、品红为 #8f4673。

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

与 Darktooth 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)