跳到主要內容

SOS

SOS 是一套深色終端機配色(柔和、冷色),背景色 #373b43,文字色 #78796f,對比度 2.5:1

取得設定檔
背景色
#373b43
前景色
#78796f
文字對比度
2.55:1低於 AA
強調色對比度
6.55:1最低 4.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
❯

SOS 的設定檔

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

SOS

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

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

palette = 0=#373b43
palette = 1=#fdcd39
palette = 2=#fbfd59
palette = 3=#deac40
palette = 4=#afb171
palette = 5=#b387e7
palette = 6=#63e860
palette = 7=#efdecb
palette = 8=#373b43
palette = 9=#fdcd39
palette = 10=#fbfd59
palette = 11=#deac40
palette = 12=#afb171
palette = 13=#b387e7
palette = 14=#63e860
palette = 15=#efdecb
background = #373b43
foreground = #78796f
cursor-color = #78796f
cursor-text = #373b43
selection-background = #464a4e
selection-foreground = #78796f

SOS 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#373b43rgb(55 59 67)hsl(220 10% 24%)oklch(35.2% 0.015 264.4)—
前景色foreground#78796frgb(120 121 111)hsl(66 4% 45%)oklch(57.2% 0.015 111.5)2.55 低於 AA
光標cursor#78796frgb(120 121 111)hsl(66 4% 45%)oklch(57.2% 0.015 111.5)2.55 低於 AA
光標文字cursorText#373b43rgb(55 59 67)hsl(220 10% 24%)oklch(35.2% 0.015 264.4)1.00 低於 AA
選取範圍selection#464a4ergb(70 74 78)hsl(210 5% 29%)oklch(40.7% 0.009 248.0)1.26 低於 AA
選取文字selectionText#78796frgb(120 121 111)hsl(66 4% 45%)oklch(57.2% 0.015 111.5)2.55 低於 AA
黑color0#373b43rgb(55 59 67)hsl(220 10% 24%)oklch(35.2% 0.015 264.4)1.00 低於 AA
紅color1#fdcd39rgb(253 205 57)hsl(45 98% 61%)oklch(86.7% 0.162 89.6)7.47 AAA
綠color2#fbfd59rgb(251 253 89)hsl(61 98% 67%)oklch(96.4% 0.179 110.0)10.32 AAA
黃color3#deac40rgb(222 172 64)hsl(41 71% 56%)oklch(77.1% 0.135 83.1)5.39 AA
藍color4#afb171rgb(175 177 113)hsl(62 29% 57%)oklch(74.4% 0.085 109.8)5.00 AA
洋紅color5#b387e7rgb(179 135 231)hsl(268 67% 72%)oklch(70.3% 0.143 304.1)4.03 AA 大字體
青color6#63e860rgb(99 232 96)hsl(119 75% 64%)oklch(82.8% 0.212 143.0)7.08 AAA
白color7#efdecbrgb(239 222 203)hsl(32 53% 87%)oklch(90.9% 0.032 70.5)8.55 AAA
亮黑color8#373b43rgb(55 59 67)hsl(220 10% 24%)oklch(35.2% 0.015 264.4)1.00 低於 AA
亮紅color9#fdcd39rgb(253 205 57)hsl(45 98% 61%)oklch(86.7% 0.162 89.6)7.47 AAA
亮綠color10#fbfd59rgb(251 253 89)hsl(61 98% 67%)oklch(96.4% 0.179 110.0)10.32 AAA
亮黃color11#deac40rgb(222 172 64)hsl(41 71% 56%)oklch(77.1% 0.135 83.1)5.39 AA
亮藍color12#afb171rgb(175 177 113)hsl(62 29% 57%)oklch(74.4% 0.085 109.8)5.00 AA
亮洋紅color13#b387e7rgb(179 135 231)hsl(268 67% 72%)oklch(70.3% 0.143 304.1)4.03 AA 大字體
亮青color14#63e860rgb(99 232 96)hsl(119 75% 64%)oklch(82.8% 0.212 143.0)7.08 AAA
亮白color15#efdecbrgb(239 222 203)hsl(32 53% 87%)oklch(90.9% 0.032 70.5)8.55 AAA

關於 SOS

SOS 採用冷色調的深色背景(#373b43),預設前景色為 #78796f。正文的 WCAG 對比度為 2.55:1(低於 AA),12 種 ANSI 彩色槽位平均對比度 6.55:1,最低 4.03:1。

色板整體色彩飽和度適中,其中紅色為 #fdcd39、綠色為 #fbfd59、藍色為 #afb171、洋紅為 #b387e7。

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

與 SOS 相似的配色

資料來源:terminal.sexy (MIT)