跳到主要內容

Ultra Dark

Ultra Dark 是一套深色終端機配色(純黑、高對比),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
12.92:1最低 7.34
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
❯

Ultra Dark 的設定檔

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

Ultra Dark

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

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

palette = 0=#000000
palette = 1=#f07178
palette = 2=#c3e88d
palette = 3=#ffcb6b
palette = 4=#82aaff
palette = 5=#c792ea
palette = 6=#89ddff
palette = 7=#cccccc
palette = 8=#333333
palette = 9=#f6a9ae
palette = 10=#dbf1ba
palette = 11=#ffdfa6
palette = 12=#b4ccff
palette = 13=#ddbdf2
palette = 14=#b8eaff
palette = 15=#ffffff
background = #000000
foreground = #ffffff
cursor-color = #fefefe
cursor-text = #000000
selection-background = #222222
selection-foreground = #cccccc

Ultra Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#fefefergb(254 254 254)hsl(0 0% 100%)oklch(99.7% 0.000 0)20.82 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)13.08 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#f07178rgb(240 113 120)hsl(357 81% 69%)oklch(70.1% 0.157 18.6)7.34 AAA
綠color2#c3e88drgb(195 232 141)hsl(84 66% 73%)oklch(88.4% 0.124 126.8)15.25 AAA
黃color3#ffcb6brgb(255 203 107)hsl(39 100% 71%)oklch(86.9% 0.128 81.1)14.01 AAA
藍color4#82aaffrgb(130 170 255)hsl(221 100% 75%)oklch(74.4% 0.131 264.3)9.14 AAA
洋紅color5#c792eargb(199 146 234)hsl(276 68% 75%)oklch(74.3% 0.135 311.1)8.73 AAA
青color6#89ddffrgb(137 221 255)hsl(197 100% 77%)oklch(85.6% 0.094 225.9)13.85 AAA
白color7#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)13.08 AAA
亮黑color8#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.66 低於 AA
亮紅color9#f6a9aergb(246 169 174)hsl(356 81% 81%)oklch(81.0% 0.091 15.0)11.20 AAA
亮綠color10#dbf1bargb(219 241 186)hsl(84 66% 84%)oklch(92.8% 0.076 125.6)17.30 AAA
亮黃color11#ffdfa6rgb(255 223 166)hsl(38 100% 83%)oklch(91.7% 0.081 81.7)16.36 AAA
亮藍color12#b4ccffrgb(180 204 255)hsl(221 100% 85%)oklch(84.5% 0.076 265.1)13.02 AAA
亮洋紅color13#ddbdf2rgb(221 189 242)hsl(276 67% 85%)oklch(84.3% 0.080 311.8)12.64 AAA
亮青color14#b8eaffrgb(184 234 255)hsl(198 100% 86%)oklch(90.9% 0.059 225.5)16.25 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 Ultra Dark

Ultra Dark 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 12.92:1,最低 7.34:1。

色板整體色彩飽和度適中,其中紅色為 #f07178、綠色為 #c3e88d、藍色為 #82aaff、洋紅為 #c792ea。

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

與 Ultra Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)