跳到正文

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/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)