跳到主要內容

One Double Dark

One Double Dark 是一套深色終端機配色(冷色),背景色 #282c34,文字色 #dbdfe5,對比度 10.5:1

取得設定檔
背景色
#282c34
前景色
#dbdfe5
文字對比度
10.47:1AAA
強調色對比度
6.76:1最低 4.51
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
❯

One Double Dark 的設定檔

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

One Double Dark

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

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

palette = 0=#3d4452
palette = 1=#f16372
palette = 2=#8cc570
palette = 3=#ecbe70
palette = 4=#3fb1f5
palette = 5=#d373e3
palette = 6=#17b9c4
palette = 7=#dbdfe5
palette = 8=#525d6f
palette = 9=#ff777b
palette = 10=#82d882
palette = 11=#f5c065
palette = 12=#6dcaff
palette = 13=#ff7bf4
palette = 14=#00e5fb
palette = 15=#f7f9fc
background = #282c34
foreground = #dbdfe5
cursor-color = #f5e0dc
cursor-text = #cdd6f4
selection-background = #585b70
selection-foreground = #cdd6f4

One Double Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)—
前景色foreground#dbdfe5rgb(219 223 229)hsl(216 16% 88%)oklch(90.2% 0.009 258.3)10.47 AAA
光標cursor#f5e0dcrgb(245 224 220)hsl(10 56% 91%)oklch(92.3% 0.024 30.5)11.05 AAA
光標文字cursorText#cdd6f4rgb(205 214 244)hsl(226 64% 88%)oklch(87.9% 0.043 272.3)9.68 AAA
選取範圍selection#585b70rgb(88 91 112)hsl(233 12% 39%)oklch(47.7% 0.034 278.6)2.10 低於 AA
選取文字selectionText#cdd6f4rgb(205 214 244)hsl(226 64% 88%)oklch(87.9% 0.043 272.3)9.68 AAA
黑color0#3d4452rgb(61 68 82)hsl(220 15% 28%)oklch(38.6% 0.026 264.2)1.43 低於 AA
紅color1#f16372rgb(241 99 114)hsl(354 84% 67%)oklch(68.2% 0.175 16.7)4.51 AA
綠color2#8cc570rgb(140 197 112)hsl(100 42% 61%)oklch(76.4% 0.129 136.0)6.89 AA
黃color3#ecbe70rgb(236 190 112)hsl(38 77% 68%)oklch(82.6% 0.110 79.5)8.11 AAA
藍color4#3fb1f5rgb(63 177 245)hsl(202 90% 60%)oklch(72.6% 0.141 239.5)5.88 AA
洋紅color5#d373e3rgb(211 115 227)hsl(291 67% 67%)oklch(70.4% 0.184 321.7)4.89 AA
青color6#17b9c4rgb(23 185 196)hsl(184 79% 43%)oklch(71.7% 0.119 202.6)5.85 AA
白color7#dbdfe5rgb(219 223 229)hsl(216 16% 88%)oklch(90.2% 0.009 258.3)10.47 AAA
亮黑color8#525d6frgb(82 93 111)hsl(217 15% 38%)oklch(47.6% 0.032 260.2)2.10 低於 AA
亮紅color9#ff777brgb(255 119 123)hsl(358 100% 73%)oklch(73.1% 0.166 20.3)5.45 AA
亮綠color10#82d882rgb(130 216 130)hsl(120 52% 68%)oklch(80.7% 0.145 144.1)8.06 AAA
亮黃color11#f5c065rgb(245 192 101)hsl(38 88% 68%)oklch(83.8% 0.124 79.2)8.41 AAA
亮藍color12#6dcaffrgb(109 202 255)hsl(202 100% 71%)oklch(80.2% 0.116 235.7)7.69 AAA
亮洋紅color13#ff7bf4rgb(255 123 244)hsl(305 100% 74%)oklch(77.6% 0.213 330.6)6.26 AA
亮青color14#00e5fbrgb(0 229 251)hsl(185 100% 49%)oklch(84.3% 0.145 207.1)9.07 AAA
亮白color15#f7f9fcrgb(247 249 252)hsl(216 45% 98%)oklch(98.1% 0.005 258.3)13.27 AAA

關於 One Double Dark

One Double Dark 採用冷色調的深色背景(#282c34),預設前景色為 #dbdfe5。正文的 WCAG 對比度為 10.47:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.76:1,最低 4.51:1。

色板整體色彩飽和度適中,其中紅色為 #f16372、綠色為 #8cc570、藍色為 #3fb1f5、洋紅為 #d373e3。該配色歸屬 One Dark & One Light 主題系列。

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

與 One Double Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)