跳到主要內容

Code 2026 Dark

Code 2026 Dark 是一套深色終端機配色,背景色 #121314,文字色 #bbbebf,對比度 9.9:1

取得設定檔
背景色
#121314
前景色
#bbbebf
文字對比度
9.95:1AAA
強調色對比度
9.57:1最低 5.29
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
❯

Code 2026 Dark 的設定檔

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

Code 2026 Dark

存到 ~/.config/ghostty/themes/Code 2026 Dark,再在 config 或 config.ghostty 裡寫 theme = Code 2026 Dark

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

palette = 0=#202122
palette = 1=#ff7b72
palette = 2=#7ee787
palette = 3=#cd9731
palette = 4=#79c0ff
palette = 5=#d2a8ff
palette = 6=#4ec9b0
palette = 7=#bbbebf
palette = 8=#555555
palette = 9=#ffa198
palette = 10=#91eb99
palette = 11=#ffa657
palette = 12=#a5d6ff
palette = 13=#b267e6
palette = 14=#71d4c0
palette = 15=#ffffff
background = #121314
foreground = #bbbebf
cursor-color = #bbbebf
cursor-text = #121314
selection-background = #276782
selection-foreground = #ffffff

Code 2026 Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#121314rgb(18 19 20)hsl(210 5% 7%)oklch(18.6% 0.003 248.0)—
前景色foreground#bbbebfrgb(187 190 191)hsl(195 3% 74%)oklch(79.9% 0.004 219.5)9.95 AAA
游標cursor#bbbebfrgb(187 190 191)hsl(195 3% 74%)oklch(79.9% 0.004 219.5)9.95 AAA
游標文字cursorText#121314rgb(18 19 20)hsl(210 5% 7%)oklch(18.6% 0.003 248.0)1.00 低於 AA
選取範圍selection#276782rgb(39 103 130)hsl(198 54% 33%)oklch(48.5% 0.077 229.4)2.97 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.60 AAA
黑color0#202122rgb(32 33 34)hsl(210 3% 13%)oklch(24.7% 0.002 247.9)1.15 低於 AA
紅color1#ff7b72rgb(255 123 114)hsl(4 100% 72%)oklch(73.4% 0.163 25.8)7.38 AAA
綠color2#7ee787rgb(126 231 135)hsl(125 69% 70%)oklch(84.2% 0.164 145.8)12.11 AAA
黃color3#cd9731rgb(205 151 49)hsl(39 61% 50%)oklch(71.1% 0.130 79.1)7.15 AAA
藍color4#79c0ffrgb(121 192 255)hsl(208 100% 74%)oklch(78.6% 0.115 246.7)9.56 AAA
洋紅color5#d2a8ffrgb(210 168 255)hsl(269 100% 83%)oklch(80.1% 0.127 305.9)9.55 AAA
青color6#4ec9b0rgb(78 201 176)hsl(168 53% 55%)oklch(76.0% 0.115 177.2)9.13 AAA
白color7#bbbebfrgb(187 190 191)hsl(195 3% 74%)oklch(79.9% 0.004 219.5)9.95 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.50 低於 AA
亮紅color9#ffa198rgb(255 161 152)hsl(5 100% 80%)oklch(80.1% 0.113 25.8)9.57 AAA
亮綠color10#91eb99rgb(145 235 153)hsl(125 69% 75%)oklch(86.3% 0.142 146.3)12.89 AAA
亮黃color11#ffa657rgb(255 166 87)hsl(28 100% 67%)oklch(79.9% 0.141 60.1)9.61 AAA
亮藍color12#a5d6ffrgb(165 214 255)hsl(207 100% 82%)oklch(85.6% 0.077 244.1)12.10 AAA
亮洋紅color13#b267e6rgb(178 103 230)hsl(275 72% 65%)oklch(65.1% 0.192 309.3)5.29 AA
亮青color14#71d4c0rgb(113 212 192)hsl(168 54% 64%)oklch(80.4% 0.098 178.9)10.52 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.60 AAA

關於 Code 2026 Dark

Code 2026 Dark 採用中性色調的深色背景(#121314),預設前景色為 #bbbebf。內文的 WCAG 對比度為 9.95:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.57:1,最低 5.29:1。

色票整體色彩彩度適中,其中紅色為 #ff7b72、綠色為 #7ee787、藍色為 #79c0ff、洋紅為 #d2a8ff。

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

與 Code 2026 Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)