跳到主要內容

Windows Highcontrast Light

Windows Highcontrast Light 是一套淺色終端機配色,背景色 #fcfcfc,文字色 #545454,對比度 7.4:1

取得設定檔
背景色
#fcfcfc
前景色
#545454
文字對比度
7.38:1AAA
強調色對比度
8.20:1最低 4.09
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
❯

Windows Highcontrast Light 的設定檔

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

Windows Highcontrast Light

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

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

palette = 0=#fcfcfc
palette = 1=#800000
palette = 2=#008000
palette = 3=#808000
palette = 4=#000080
palette = 5=#800080
palette = 6=#008080
palette = 7=#545454
palette = 8=#c0c0c0
palette = 9=#800000
palette = 10=#008000
palette = 11=#808000
palette = 12=#000080
palette = 13=#800080
palette = 14=#008080
palette = 15=#000000
background = #fcfcfc
foreground = #545454
cursor-color = #545454
cursor-text = #fcfcfc
selection-background = #cfcfcf
selection-foreground = #545454

Windows Highcontrast Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fcfcfcrgb(252 252 252)hsl(0 0% 99%)oklch(99.1% 0.000 0)—
前景色foreground#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)7.38 AAA
游標cursor#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)7.38 AAA
游標文字cursorText#fcfcfcrgb(252 252 252)hsl(0 0% 99%)oklch(99.1% 0.000 0)1.00 低於 AA
選取範圍selection#cfcfcfrgb(207 207 207)hsl(0 0% 81%)oklch(85.5% 0.000 0)1.52 低於 AA
選取文字selectionText#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)7.38 AAA
黑color0#fcfcfcrgb(252 252 252)hsl(0 0% 99%)oklch(99.1% 0.000 0)1.00 低於 AA
紅color1#800000rgb(128 0 0)hsl(0 100% 25%)oklch(37.7% 0.155 29.2)10.67 AAA
綠color2#008000rgb(0 128 0)hsl(120 100% 25%)oklch(52.0% 0.177 142.5)5.01 AA
黃color3#808000rgb(128 128 0)hsl(60 100% 25%)oklch(58.1% 0.127 109.8)4.09 AA 大字級
藍color4#000080rgb(0 0 128)hsl(240 100% 25%)oklch(27.1% 0.188 264.1)15.60 AAA
洋紅color5#800080rgb(128 0 128)hsl(300 100% 25%)oklch(42.1% 0.193 328.4)9.18 AAA
青color6#008080rgb(0 128 128)hsl(180 100% 25%)oklch(54.3% 0.093 194.8)4.65 AA
白color7#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)7.38 AAA
亮黑color8#c0c0c0rgb(192 192 192)hsl(0 0% 75%)oklch(80.8% 0.000 0)1.77 低於 AA
亮紅color9#800000rgb(128 0 0)hsl(0 100% 25%)oklch(37.7% 0.155 29.2)10.67 AAA
亮綠color10#008000rgb(0 128 0)hsl(120 100% 25%)oklch(52.0% 0.177 142.5)5.01 AA
亮黃color11#808000rgb(128 128 0)hsl(60 100% 25%)oklch(58.1% 0.127 109.8)4.09 AA 大字級
亮藍color12#000080rgb(0 0 128)hsl(240 100% 25%)oklch(27.1% 0.188 264.1)15.60 AAA
亮洋紅color13#800080rgb(128 0 128)hsl(300 100% 25%)oklch(42.1% 0.193 328.4)9.18 AAA
亮青color14#008080rgb(0 128 128)hsl(180 100% 25%)oklch(54.3% 0.093 194.8)4.65 AA
亮白color15#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)20.47 AAA

關於 Windows Highcontrast Light

Windows Highcontrast Light 採用中性色調的淺色背景(#fcfcfc),預設前景色為 #545454。內文的 WCAG 對比度為 7.38:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.20:1,最低 4.09:1。

色票整體色彩彩度適中,其中紅色為 #800000、綠色為 #008000、藍色為 #000080、洋紅為 #800080。

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

此色票在上游儲存庫中也曾以 Windows High Contrast Light 的名稱發布

與 Windows Highcontrast Light 相似的配色

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