跳到主要內容

Grayscale Dark

Grayscale Dark 是一套深色終端機配色(單色),背景色 #101010,文字色 #b9b9b9,對比度 9.7:1

取得設定檔
背景色
#101010
前景色
#b9b9b9
文字對比度
9.70:1AAA
強調色對比度
5.06:1最低 3.41
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
❯

Grayscale Dark 的設定檔

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

Grayscale Dark

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

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

palette = 0=#101010
palette = 1=#7c7c7c
palette = 2=#8e8e8e
palette = 3=#a0a0a0
palette = 4=#686868
palette = 5=#747474
palette = 6=#868686
palette = 7=#b9b9b9
palette = 8=#525252
palette = 9=#7c7c7c
palette = 10=#8e8e8e
palette = 11=#a0a0a0
palette = 12=#686868
palette = 13=#747474
palette = 14=#868686
palette = 15=#f7f7f7
background = #101010
foreground = #b9b9b9
cursor-color = #b9b9b9
cursor-text = #101010
selection-background = #343434
selection-foreground = #b9b9b9

Grayscale Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)—
前景色foreground#b9b9b9rgb(185 185 185)hsl(0 0% 73%)oklch(78.6% 0.000 0)9.70 AAA
游標cursor#b9b9b9rgb(185 185 185)hsl(0 0% 73%)oklch(78.6% 0.000 0)9.70 AAA
游標文字cursorText#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)1.00 低於 AA
選取範圍selection#343434rgb(52 52 52)hsl(0 0% 20%)oklch(32.5% 0.000 0)1.53 低於 AA
選取文字selectionText#b9b9b9rgb(185 185 185)hsl(0 0% 73%)oklch(78.6% 0.000 0)9.70 AAA
黑color0#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)1.00 低於 AA
紅color1#7c7c7crgb(124 124 124)hsl(0 0% 49%)oklch(58.6% 0.000 0)4.56 AA
綠color2#8e8e8ergb(142 142 142)hsl(0 0% 56%)oklch(64.7% 0.000 0)5.81 AA
黃color3#a0a0a0rgb(160 160 160)hsl(0 0% 63%)oklch(70.6% 0.000 0)7.28 AAA
藍color4#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.41 AA 大字級
洋紅color5#747474rgb(116 116 116)hsl(0 0% 45%)oklch(55.9% 0.000 0)4.07 AA 大字級
青color6#868686rgb(134 134 134)hsl(0 0% 53%)oklch(62.0% 0.000 0)5.23 AA
白color7#b9b9b9rgb(185 185 185)hsl(0 0% 73%)oklch(78.6% 0.000 0)9.70 AAA
亮黑color8#525252rgb(82 82 82)hsl(0 0% 32%)oklch(43.9% 0.000 0)2.44 低於 AA
亮紅color9#7c7c7crgb(124 124 124)hsl(0 0% 49%)oklch(58.6% 0.000 0)4.56 AA
亮綠color10#8e8e8ergb(142 142 142)hsl(0 0% 56%)oklch(64.7% 0.000 0)5.81 AA
亮黃color11#a0a0a0rgb(160 160 160)hsl(0 0% 63%)oklch(70.6% 0.000 0)7.28 AAA
亮藍color12#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.41 AA 大字級
亮洋紅color13#747474rgb(116 116 116)hsl(0 0% 45%)oklch(55.9% 0.000 0)4.07 AA 大字級
亮青color14#868686rgb(134 134 134)hsl(0 0% 53%)oklch(62.0% 0.000 0)5.23 AA
亮白color15#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)17.76 AAA

關於 Grayscale Dark

Grayscale Dark 採用中性色調的深色背景(#101010),預設前景色為 #b9b9b9。內文的 WCAG 對比度為 9.70:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.06:1,最低 3.41:1。

色票整體色彩彩度偏低,其中紅色為 #7c7c7c、綠色為 #8e8e8e、藍色為 #686868、洋紅為 #747474。

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

與 Grayscale Dark 相似的配色

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