跳到主要內容

Da One Gray

Da One Gray 是一套深色終端機配色(高對比),背景色 #181818,文字色 #ffffff,對比度 17.8:1

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

Da One Gray 的設定檔

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

Da One Gray

存到 ~/.config/ghostty/themes/Da One Gray,再在 config 或 config.ghostty 裡寫 theme = Da One Gray

更多 Ghostty 配色
原始檔
# Theme: Da One Gray (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/da-one-gray?format=ghostty

palette = 0=#181818
palette = 1=#fa7883
palette = 2=#98c379
palette = 3=#ff9470
palette = 4=#6bb8ff
palette = 5=#e799ff
palette = 6=#8af5ff
palette = 7=#ffffff
palette = 8=#888888
palette = 9=#fa7883
palette = 10=#98c379
palette = 11=#ff9470
palette = 12=#6bb8ff
palette = 13=#e799ff
palette = 14=#8af5ff
palette = 15=#ffffff
background = #181818
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #181818
selection-background = #494949
selection-foreground = #ffffff

Da One Gray 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.76 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.76 AAA
游標文字cursorText#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)1.00 低於 AA
選取範圍selection#494949rgb(73 73 73)hsl(0 0% 29%)oklch(40.5% 0.000 0)1.97 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.76 AAA
黑color0#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)1.00 低於 AA
紅color1#fa7883rgb(250 120 131)hsl(355 93% 73%)oklch(72.7% 0.159 16.7)6.83 AA
綠color2#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)8.81 AAA
黃color3#ff9470rgb(255 148 112)hsl(15 100% 72%)oklch(77.2% 0.139 39.3)8.22 AAA
藍color4#6bb8ffrgb(107 184 255)hsl(209 100% 71%)oklch(76.2% 0.128 248.0)8.39 AAA
洋紅color5#e799ffrgb(231 153 255)hsl(286 100% 80%)oklch(79.6% 0.161 318.0)8.79 AAA
青color6#8af5ffrgb(138 245 255)hsl(185 100% 77%)oklch(90.9% 0.100 203.4)14.02 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.76 AAA
亮黑color8#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)5.01 AA
亮紅color9#fa7883rgb(250 120 131)hsl(355 93% 73%)oklch(72.7% 0.159 16.7)6.83 AA
亮綠color10#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)8.81 AAA
亮黃color11#ff9470rgb(255 148 112)hsl(15 100% 72%)oklch(77.2% 0.139 39.3)8.22 AAA
亮藍color12#6bb8ffrgb(107 184 255)hsl(209 100% 71%)oklch(76.2% 0.128 248.0)8.39 AAA
亮洋紅color13#e799ffrgb(231 153 255)hsl(286 100% 80%)oklch(79.6% 0.161 318.0)8.79 AAA
亮青color14#8af5ffrgb(138 245 255)hsl(185 100% 77%)oklch(90.9% 0.100 203.4)14.02 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.76 AAA

關於 Da One Gray

Da One Gray 採用中性色調的深色背景(#181818),預設前景色為 #ffffff。內文的 WCAG 對比度為 17.76:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.18:1,最低 6.83:1。

色票整體色彩彩度適中,其中紅色為 #fa7883、綠色為 #98c379、藍色為 #6bb8ff、洋紅為 #e799ff。

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

與 Da One Gray 相似的配色

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