跳到主要內容

Low Contrast

Low Contrast 是一套深色終端機配色(柔和、鮮艷),背景色 #333333,文字色 #dddddd,對比度 9.3:1

取得設定檔
背景色
#333333
前景色
#dddddd
文字對比度
9.30:1AAA
強調色對比度
3.59:1最低 1.03
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
❯

Low Contrast 的設定檔

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

Low Contrast

存到 ~/.config/ghostty/themes/Low Contrast,再在 config 或 config.ghostty 裏寫 theme = Low Contrast

更多 Ghostty 配色
原始檔案
# Theme: Low Contrast (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/low-contrast?format=ghostty

palette = 0=#000000
palette = 1=#bb0000
palette = 2=#00bb00
palette = 3=#bbbb00
palette = 4=#0000bb
palette = 5=#bb00bb
palette = 6=#00bbbb
palette = 7=#bbbbbb
palette = 8=#000000
palette = 9=#bb0000
palette = 10=#00bb00
palette = 11=#bbbb00
palette = 12=#0000bb
palette = 13=#bb00bb
palette = 14=#00bbbb
palette = 15=#bbbbbb
background = #333333
foreground = #dddddd
cursor-color = #dddddd
cursor-text = #333333
selection-background = #595959
selection-foreground = #dddddd

Low Contrast 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)—
前景色foreground#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)9.30 AAA
光標cursor#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)9.30 AAA
光標文字cursorText#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.00 低於 AA
選取範圍selection#595959rgb(89 89 89)hsl(0 0% 35%)oklch(46.4% 0.000 0)1.80 低於 AA
選取文字selectionText#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)9.30 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.66 低於 AA
紅color1#bb0000rgb(187 0 0)hsl(0 100% 37%)oklch(49.7% 0.204 29.2)1.87 低於 AA
綠color2#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)4.88 AA
黃color3#bbbb00rgb(187 187 0)hsl(60 100% 37%)oklch(76.7% 0.167 109.8)6.15 AA
藍color4#0000bbrgb(0 0 187)hsl(240 100% 37%)oklch(35.8% 0.248 264.1)1.03 低於 AA
洋紅color5#bb00bbrgb(187 0 187)hsl(300 100% 37%)oklch(55.6% 0.255 328.4)2.30 低於 AA
青color6#00bbbbrgb(0 187 187)hsl(180 100% 37%)oklch(71.7% 0.122 194.8)5.31 AA
白color7#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)6.58 AA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.66 低於 AA
亮紅color9#bb0000rgb(187 0 0)hsl(0 100% 37%)oklch(49.7% 0.204 29.2)1.87 低於 AA
亮綠color10#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)4.88 AA
亮黃color11#bbbb00rgb(187 187 0)hsl(60 100% 37%)oklch(76.7% 0.167 109.8)6.15 AA
亮藍color12#0000bbrgb(0 0 187)hsl(240 100% 37%)oklch(35.8% 0.248 264.1)1.03 低於 AA
亮洋紅color13#bb00bbrgb(187 0 187)hsl(300 100% 37%)oklch(55.6% 0.255 328.4)2.30 低於 AA
亮青color14#00bbbbrgb(0 187 187)hsl(180 100% 37%)oklch(71.7% 0.122 194.8)5.31 AA
亮白color15#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)6.58 AA

關於 Low Contrast

Low Contrast 採用中性色調的深色背景(#333333),預設前景色為 #dddddd。正文的 WCAG 對比度為 9.30:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.59:1,最低 1.03:1。

色板整體色彩飽和度較高,其中紅色為 #bb0000、綠色為 #00bb00、藍色為 #0000bb、洋紅為 #bb00bb。

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

與 Low Contrast 相似的配色

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