跳到主要內容

Grayscale Light

Grayscale Light 是一套淺色終端機配色(柔和、單色),背景色 #f7f7f7,文字色 #464646,對比度 8.8:1

取得設定檔
背景色
#f7f7f7
前景色
#464646
文字對比度
8.81:1AAA
強調色對比度
3.73:1最低 2.44
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 Light 的設定檔

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

Grayscale Light

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

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

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

Grayscale Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)—
前景色foreground#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)8.81 AAA
游標cursor#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)8.81 AAA
游標文字cursorText#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)1.00 低於 AA
選取範圍selection#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)1.58 低於 AA
選取文字selectionText#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)8.81 AAA
黑color0#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)1.00 低於 AA
紅color1#7c7c7crgb(124 124 124)hsl(0 0% 49%)oklch(58.6% 0.000 0)3.90 AA 大字級
綠color2#8e8e8ergb(142 142 142)hsl(0 0% 56%)oklch(64.7% 0.000 0)3.06 AA 大字級
黃color3#a0a0a0rgb(160 160 160)hsl(0 0% 63%)oklch(70.6% 0.000 0)2.44 低於 AA
藍color4#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)5.20 AA
洋紅color5#747474rgb(116 116 116)hsl(0 0% 45%)oklch(55.9% 0.000 0)4.36 AA 大字級
青color6#868686rgb(134 134 134)hsl(0 0% 53%)oklch(62.0% 0.000 0)3.40 AA 大字級
白color7#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)8.81 AAA
亮黑color8#abababrgb(171 171 171)hsl(0 0% 67%)oklch(74.1% 0.000 0)2.14 低於 AA
亮紅color9#7c7c7crgb(124 124 124)hsl(0 0% 49%)oklch(58.6% 0.000 0)3.90 AA 大字級
亮綠color10#8e8e8ergb(142 142 142)hsl(0 0% 56%)oklch(64.7% 0.000 0)3.06 AA 大字級
亮黃color11#a0a0a0rgb(160 160 160)hsl(0 0% 63%)oklch(70.6% 0.000 0)2.44 低於 AA
亮藍color12#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)5.20 AA
亮洋紅color13#747474rgb(116 116 116)hsl(0 0% 45%)oklch(55.9% 0.000 0)4.36 AA 大字級
亮青color14#868686rgb(134 134 134)hsl(0 0% 53%)oklch(62.0% 0.000 0)3.40 AA 大字級
亮白color15#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)17.76 AAA

關於 Grayscale Light

Grayscale Light 採用中性色調的淺色背景(#f7f7f7),預設前景色為 #464646。內文的 WCAG 對比度為 8.81:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.73:1,最低 2.44: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 Light 相似的配色

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