跳到主要內容

Classic Dark

Classic Dark 是一套深色終端機配色,背景色 #151515,文字色 #d0d0d0,對比度 11.8:1

取得設定檔
背景色
#151515
前景色
#d0d0d0
文字對比度
11.84:1AAA
強調色對比度
6.68:1最低 3.12
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
❯

Classic Dark 的設定檔

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

Classic Dark

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

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

palette = 0=#151515
palette = 1=#ac4142
palette = 2=#90a959
palette = 3=#f4bf75
palette = 4=#6a9fb5
palette = 5=#aa759f
palette = 6=#75b5aa
palette = 7=#d0d0d0
palette = 8=#505050
palette = 9=#ac4142
palette = 10=#90a959
palette = 11=#f4bf75
palette = 12=#6a9fb5
palette = 13=#aa759f
palette = 14=#75b5aa
palette = 15=#f5f5f5
background = #151515
foreground = #d0d0d0
cursor-color = #d0d0d0
cursor-text = #151515
selection-background = #3d3d3d
selection-foreground = #d0d0d0

Classic Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#151515rgb(21 21 21)hsl(0 0% 8%)oklch(19.6% 0.000 0)—
前景色foreground#d0d0d0rgb(208 208 208)hsl(0 0% 82%)oklch(85.8% 0.000 0)11.84 AAA
游標cursor#d0d0d0rgb(208 208 208)hsl(0 0% 82%)oklch(85.8% 0.000 0)11.84 AAA
游標文字cursorText#151515rgb(21 21 21)hsl(0 0% 8%)oklch(19.6% 0.000 0)1.00 低於 AA
選取範圍selection#3d3d3drgb(61 61 61)hsl(0 0% 24%)oklch(36.0% 0.000 0)1.68 低於 AA
選取文字selectionText#d0d0d0rgb(208 208 208)hsl(0 0% 82%)oklch(85.8% 0.000 0)11.84 AAA
黑color0#151515rgb(21 21 21)hsl(0 0% 8%)oklch(19.6% 0.000 0)1.00 低於 AA
紅color1#ac4142rgb(172 65 66)hsl(359 45% 46%)oklch(52.3% 0.141 22.8)3.12 AA 大字級
綠color2#90a959rgb(144 169 89)hsl(79 32% 51%)oklch(69.7% 0.110 123.5)6.96 AA
黃color3#f4bf75rgb(244 191 117)hsl(35 85% 71%)oklch(83.7% 0.110 74.6)10.92 AAA
藍color4#6a9fb5rgb(106 159 181)hsl(198 34% 56%)oklch(67.4% 0.065 226.0)6.30 AA
洋紅color5#aa759frgb(170 117 159)hsl(312 24% 56%)oklch(63.0% 0.088 334.2)5.00 AA
青color6#75b5aargb(117 181 170)hsl(170 30% 58%)oklch(72.7% 0.068 182.3)7.78 AAA
白color7#d0d0d0rgb(208 208 208)hsl(0 0% 82%)oklch(85.8% 0.000 0)11.84 AAA
亮黑color8#505050rgb(80 80 80)hsl(0 0% 31%)oklch(43.1% 0.000 0)2.26 低於 AA
亮紅color9#ac4142rgb(172 65 66)hsl(359 45% 46%)oklch(52.3% 0.141 22.8)3.12 AA 大字級
亮綠color10#90a959rgb(144 169 89)hsl(79 32% 51%)oklch(69.7% 0.110 123.5)6.96 AA
亮黃color11#f4bf75rgb(244 191 117)hsl(35 85% 71%)oklch(83.7% 0.110 74.6)10.92 AAA
亮藍color12#6a9fb5rgb(106 159 181)hsl(198 34% 56%)oklch(67.4% 0.065 226.0)6.30 AA
亮洋紅color13#aa759frgb(170 117 159)hsl(312 24% 56%)oklch(63.0% 0.088 334.2)5.00 AA
亮青color14#75b5aargb(117 181 170)hsl(170 30% 58%)oklch(72.7% 0.068 182.3)7.78 AAA
亮白color15#f5f5f5rgb(245 245 245)hsl(0 0% 96%)oklch(97.0% 0.000 0)16.75 AAA

關於 Classic Dark

Classic Dark 採用中性色調的深色背景(#151515),預設前景色為 #d0d0d0。內文的 WCAG 對比度為 11.84:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.68:1,最低 3.12:1。

色票整體色彩彩度適中,其中紅色為 #ac4142、綠色為 #90a959、藍色為 #6a9fb5、洋紅為 #aa759f。

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

與 Classic Dark 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)