跳到主要內容

Subliminal

Subliminal 是一套深色終端機配色(冷色),背景色 #282c35,文字色 #d4d4d4,對比度 9.4:1

取得設定檔
背景色
#282c35
前景色
#d4d4d4
文字對比度
9.43:1AAA
強調色對比度
6.77:1最低 3.88
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
❯

Subliminal 的設定檔

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

Subliminal

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

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

palette = 0=#7f7f7f
palette = 1=#e15a60
palette = 2=#a9cfa4
palette = 3=#ffe2a9
palette = 4=#6699cc
palette = 5=#f1a5ab
palette = 6=#5fb3b3
palette = 7=#d4d4d4
palette = 8=#7f7f7f
palette = 9=#e15a60
palette = 10=#a9cfa4
palette = 11=#ffe2a9
palette = 12=#6699cc
palette = 13=#f1a5ab
palette = 14=#5fb3b3
palette = 15=#d4d4d4
background = #282c35
foreground = #d4d4d4
cursor-color = #c7c7c7
cursor-text = #ffffff
selection-background = #484e5b
selection-foreground = #ffffff

Subliminal 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#282c35rgb(40 44 53)hsl(222 14% 18%)oklch(29.3% 0.017 266.4)—
前景色foreground#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)9.43 AAA
游標cursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)8.27 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.98 AAA
選取範圍selection#484e5brgb(72 78 91)hsl(221 12% 32%)oklch(42.3% 0.023 265.7)1.68 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.98 AAA
黑color0#7f7f7frgb(127 127 127)hsl(0 0% 50%)oklch(59.6% 0.000 0)3.49 AA 大字級
紅color1#e15a60rgb(225 90 96)hsl(357 69% 62%)oklch(64.3% 0.169 20.5)3.88 AA 大字級
綠color2#a9cfa4rgb(169 207 164)hsl(113 31% 73%)oklch(81.6% 0.072 141.8)8.09 AAA
黃color3#ffe2a9rgb(255 226 169)hsl(40 100% 83%)oklch(92.3% 0.079 84.0)11.12 AAA
藍color4#6699ccrgb(102 153 204)hsl(210 50% 60%)oklch(66.8% 0.094 249.4)4.66 AA
洋紅color5#f1a5abrgb(241 165 171)hsl(355 73% 80%)oklch(79.7% 0.090 14.1)7.13 AAA
青color6#5fb3b3rgb(95 179 179)hsl(180 36% 54%)oklch(71.4% 0.082 195.5)5.72 AA
白color7#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)9.43 AAA
亮黑color8#7f7f7frgb(127 127 127)hsl(0 0% 50%)oklch(59.6% 0.000 0)3.49 AA 大字級
亮紅color9#e15a60rgb(225 90 96)hsl(357 69% 62%)oklch(64.3% 0.169 20.5)3.88 AA 大字級
亮綠color10#a9cfa4rgb(169 207 164)hsl(113 31% 73%)oklch(81.6% 0.072 141.8)8.09 AAA
亮黃color11#ffe2a9rgb(255 226 169)hsl(40 100% 83%)oklch(92.3% 0.079 84.0)11.12 AAA
亮藍color12#6699ccrgb(102 153 204)hsl(210 50% 60%)oklch(66.8% 0.094 249.4)4.66 AA
亮洋紅color13#f1a5abrgb(241 165 171)hsl(355 73% 80%)oklch(79.7% 0.090 14.1)7.13 AAA
亮青color14#5fb3b3rgb(95 179 179)hsl(180 36% 54%)oklch(71.4% 0.082 195.5)5.72 AA
亮白color15#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)9.43 AAA

關於 Subliminal

Subliminal 採用冷色調的深色背景(#282c35),預設前景色為 #d4d4d4。內文的 WCAG 對比度為 9.43:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.77:1,最低 3.88:1。

色票整體色彩彩度適中,其中紅色為 #e15a60、綠色為 #a9cfa4、藍色為 #6699cc、洋紅為 #f1a5ab。

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

與 Subliminal 相似的配色

資料來源:iTerm2 Color Schemes (MIT)