跳到主要內容

Sumi Phosphor

Sumi Phosphor 是一套深色終端機配色,背景色 #12100e,文字色 #bab4a8,對比度 9.2:1

取得設定檔
背景色
#12100e
前景色
#bab4a8
文字對比度
9.20:1AAA
強調色對比度
7.26:1最低 4.77
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
❯

Sumi Phosphor 的設定檔

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

Sumi Phosphor

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

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

palette = 0=#1e1a16
palette = 1=#d45848
palette = 2=#5ca868
palette = 3=#d4a03c
palette = 4=#5a82b8
palette = 5=#9870b0
palette = 6=#2ec4b6
palette = 7=#8a8478
palette = 8=#474139
palette = 9=#e87060
palette = 10=#72c078
palette = 11=#e8b84c
palette = 12=#70a0d8
palette = 13=#b088c8
palette = 14=#48d8c8
palette = 15=#e0dcd4
background = #12100e
foreground = #bab4a8
cursor-color = #2ec4b6
cursor-text = #12100e
selection-background = #3a3834
selection-foreground = #e8e4dc

Sumi Phosphor 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#12100ergb(18 16 14)hsl(30 13% 6%)oklch(17.5% 0.005 67.5)—
前景色foreground#bab4a8rgb(186 180 168)hsl(40 12% 69%)oklch(77.1% 0.018 84.6)9.20 AAA
游標cursor#2ec4b6rgb(46 196 182)hsl(174 62% 47%)oklch(74.2% 0.121 185.4)8.76 AAA
游標文字cursorText#12100ergb(18 16 14)hsl(30 13% 6%)oklch(17.5% 0.005 67.5)1.00 低於 AA
選取範圍selection#3a3834rgb(58 56 52)hsl(40 5% 22%)oklch(34.1% 0.007 84.6)1.62 低於 AA
選取文字selectionText#e8e4dcrgb(232 228 220)hsl(40 21% 89%)oklch(92.0% 0.012 84.6)14.97 AAA
黑color0#1e1a16rgb(30 26 22)hsl(30 15% 10%)oklch(22.1% 0.010 67.3)1.10 低於 AA
紅color1#d45848rgb(212 88 72)hsl(7 62% 56%)oklch(61.7% 0.160 29.8)4.78 AA
綠color2#5ca868rgb(92 168 104)hsl(129 30% 51%)oklch(66.6% 0.121 147.7)6.56 AA
黃color3#d4a03crgb(212 160 60)hsl(39 64% 53%)oklch(73.7% 0.129 80.3)8.04 AAA
藍color4#5a82b8rgb(90 130 184)hsl(214 40% 54%)oklch(60.0% 0.094 256.2)4.81 AA
洋紅color5#9870b0rgb(152 112 176)hsl(278 29% 56%)oklch(60.9% 0.104 312.2)4.77 AA
青color6#2ec4b6rgb(46 196 182)hsl(174 62% 47%)oklch(74.2% 0.121 185.4)8.76 AAA
白color7#8a8478rgb(138 132 120)hsl(40 7% 51%)oklch(61.5% 0.019 84.6)5.11 AA
亮黑color8#474139rgb(71 65 57)hsl(34 11% 25%)oklch(37.9% 0.016 75.1)1.88 低於 AA
亮紅color9#e87060rgb(232 112 96)hsl(7 75% 64%)oklch(68.4% 0.152 29.3)6.25 AA
亮綠color10#72c078rgb(114 192 120)hsl(125 38% 60%)oklch(73.9% 0.128 145.9)8.61 AAA
亮黃color11#e8b84crgb(232 184 76)hsl(42 77% 60%)oklch(80.6% 0.135 84.6)10.30 AAA
亮藍color12#70a0d8rgb(112 160 216)hsl(212 57% 64%)oklch(69.4% 0.098 252.9)6.97 AA
亮洋紅color13#b088c8rgb(176 136 200)hsl(278 37% 66%)oklch(68.8% 0.101 312.3)6.51 AA
亮青color14#48d8c8rgb(72 216 200)hsl(173 65% 56%)oklch(80.2% 0.123 184.5)10.79 AAA
亮白color15#e0dcd4rgb(224 220 212)hsl(40 16% 85%)oklch(89.5% 0.012 84.6)13.88 AAA

關於 Sumi Phosphor

Sumi Phosphor 採用中性色調的深色背景(#12100e),預設前景色為 #bab4a8。內文的 WCAG 對比度為 9.20:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.26:1,最低 4.77:1。

色票整體色彩彩度適中,其中紅色為 #d45848、綠色為 #5ca868、藍色為 #5a82b8、洋紅為 #9870b0。

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

與 Sumi Phosphor 相似的配色

資料來源:iTerm2 Color Schemes (MIT)