跳到主要內容

Dalton Dark

Dalton Dark 是一套深色終端機配色,背景色 #1b1b1b,文字色 #c8c9cc,對比度 10.4:1

取得設定檔
背景色
#1b1b1b
前景色
#c8c9cc
文字對比度
10.40:1AAA
強調色對比度
6.50:1最低 3.33
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
❯

Dalton Dark 的設定檔

16 種格式,都從同一份色板產生

Dalton Dark

存到 ~/.config/ghostty/themes/Dalton Dark,再在 config 或 config.ghostty 裏寫 theme = Dalton Dark

更多 Ghostty 配色
原始檔案
# Theme: Dalton Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/dalton-dark?format=ghostty

palette = 0=#282828
palette = 1=#d85050
palette = 2=#5b914e
palette = 3=#c4c40c
palette = 4=#7aa2f7
palette = 5=#a050d0
palette = 6=#56717f
palette = 7=#b8b8b8
palette = 8=#494949
palette = 9=#f07068
palette = 10=#88b97d
palette = 11=#eded02
palette = 12=#97b1f1
palette = 13=#c070f0
palette = 14=#6691a7
palette = 15=#d8d8d8
background = #1b1b1b
foreground = #c8c9cc
cursor-color = #9a9a9a
cursor-text = #1b1b1b
selection-background = #c8c9cc
selection-foreground = #1b1b1b

Dalton Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1b1b1brgb(27 27 27)hsl(0 0% 11%)oklch(22.2% 0.000 0)—
前景色foreground#c8c9ccrgb(200 201 204)hsl(225 4% 79%)oklch(83.6% 0.004 271.4)10.40 AAA
光標cursor#9a9a9argb(154 154 154)hsl(0 0% 60%)oklch(68.6% 0.000 0)6.12 AA
光標文字cursorText#1b1b1brgb(27 27 27)hsl(0 0% 11%)oklch(22.2% 0.000 0)1.00 低於 AA
選取範圍selection#c8c9ccrgb(200 201 204)hsl(225 4% 79%)oklch(83.6% 0.004 271.4)10.40 AAA
選取文字selectionText#1b1b1brgb(27 27 27)hsl(0 0% 11%)oklch(22.2% 0.000 0)1.00 低於 AA
黑color0#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)1.17 低於 AA
紅color1#d85050rgb(216 80 80)hsl(0 64% 58%)oklch(61.4% 0.171 23.6)4.25 AA 大字體
綠color2#5b914ergb(91 145 78)hsl(108 30% 44%)oklch(60.2% 0.113 139.7)4.60 AA
黃color3#c4c40crgb(196 196 12)hsl(60 88% 41%)oklch(79.4% 0.171 109.7)9.23 AAA
藍color4#7aa2f7rgb(122 162 247)hsl(221 89% 72%)oklch(71.9% 0.132 264.2)6.84 AA
洋紅color5#a050d0rgb(160 80 208)hsl(278 58% 56%)oklch(58.6% 0.196 310.5)3.73 AA 大字體
青color6#56717frgb(86 113 127)hsl(200 19% 42%)oklch(53.3% 0.038 230.9)3.33 AA 大字體
白color7#b8b8b8rgb(184 184 184)hsl(0 0% 72%)oklch(78.3% 0.000 0)8.68 AAA
亮黑color8#494949rgb(73 73 73)hsl(0 0% 29%)oklch(40.5% 0.000 0)1.91 低於 AA
亮紅color9#f07068rgb(240 112 104)hsl(4 82% 67%)oklch(69.6% 0.160 25.6)5.92 AA
亮綠color10#88b97drgb(136 185 125)hsl(109 30% 61%)oklch(73.6% 0.099 139.9)7.61 AAA
亮黃color11#eded02rgb(237 237 2)hsl(60 98% 47%)oklch(91.6% 0.199 109.8)13.71 AAA
亮藍color12#97b1f1rgb(151 177 241)hsl(223 76% 77%)oklch(76.5% 0.097 267.1)8.10 AAA
亮洋紅color13#c070f0rgb(192 112 240)hsl(278 81% 69%)oklch(68.5% 0.194 311.2)5.59 AA
亮青color14#6691a7rgb(102 145 167)hsl(200 27% 53%)oklch(63.4% 0.057 231.0)5.06 AA
亮白color15#d8d8d8rgb(216 216 216)hsl(0 0% 85%)oklch(88.2% 0.000 0)12.08 AAA

關於 Dalton Dark

Dalton Dark 採用中性色調的深色背景(#1b1b1b),預設前景色為 #c8c9cc。正文的 WCAG 對比度為 10.40:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.50:1,最低 3.33:1。

色板整體色彩飽和度適中,其中紅色為 #d85050、綠色為 #5b914e、藍色為 #7aa2f7、洋紅為 #a050d0。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。

與 Dalton Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)