跳到主要內容

5150 Mode

5150 Mode 是一套深色終端機配色(冷色),背景色 #082820,文字色 #ecf4db,對比度 13.9:1

取得設定檔
背景色
#082820
前景色
#ecf4db
文字對比度
13.88:1AAA
強調色對比度
8.28:1最低 6.51
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
❯

5150 Mode 的設定檔

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

5150 Mode

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

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

palette = 0=#8ca99f
palette = 1=#d59a71
palette = 2=#70bd83
palette = 3=#d2ca72
palette = 4=#80b3a0
palette = 5=#a8b38a
palette = 6=#62c5ac
palette = 7=#e5eddb
palette = 8=#a8c5b9
palette = 9=#e8ab83
palette = 10=#8ed69a
palette = 11=#e3dc8b
palette = 12=#9bc8b5
palette = 13=#bec7a0
palette = 14=#7ddbc2
palette = 15=#ffffff
background = #082820
foreground = #ecf4db
cursor-color = #d5e875
cursor-text = #082820
selection-background = #245444
selection-foreground = #ffffff

5150 Mode 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#082820rgb(8 40 32)hsl(165 67% 9%)oklch(25.1% 0.040 173.3)—
前景色foreground#ecf4dbrgb(236 244 219)hsl(79 53% 91%)oklch(95.4% 0.034 121.5)13.88 AAA
光標cursor#d5e875rgb(213 232 117)hsl(70 71% 68%)oklch(89.3% 0.142 117.1)11.71 AAA
光標文字cursorText#082820rgb(8 40 32)hsl(165 67% 9%)oklch(25.1% 0.040 173.3)1.00 低於 AA
選取範圍selection#245444rgb(36 84 68)hsl(160 40% 24%)oklch(40.7% 0.059 169.0)1.82 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.73 AAA
黑color0#8ca99frgb(140 169 159)hsl(159 14% 61%)oklch(71.0% 0.035 172.4)6.21 AA
紅color1#d59a71rgb(213 154 113)hsl(25 54% 64%)oklch(73.4% 0.090 55.6)6.51 AA
綠color2#70bd83rgb(112 189 131)hsl(135 37% 59%)oklch(73.3% 0.114 150.7)6.96 AA
黃color3#d2ca72rgb(210 202 114)hsl(55 52% 64%)oklch(82.7% 0.110 104.0)9.31 AAA
藍color4#80b3a0rgb(128 179 160)hsl(158 25% 60%)oklch(72.5% 0.061 169.5)6.65 AA
洋紅color5#a8b38argb(168 179 138)hsl(76 21% 62%)oklch(74.7% 0.058 120.0)7.10 AAA
青color6#62c5acrgb(98 197 172)hsl(165 46% 58%)oklch(75.6% 0.101 174.8)7.57 AAA
白color7#e5eddbrgb(229 237 219)hsl(87 33% 89%)oklch(93.5% 0.025 126.6)13.09 AAA
亮黑color8#a8c5b9rgb(168 197 185)hsl(155 20% 72%)oklch(79.8% 0.036 168.5)8.51 AAA
亮紅color9#e8ab83rgb(232 171 131)hsl(24 69% 71%)oklch(78.9% 0.090 54.3)7.93 AAA
亮綠color10#8ed69argb(142 214 154)hsl(130 47% 70%)oklch(81.3% 0.111 148.7)9.17 AAA
亮黃color11#e3dc8brgb(227 220 139)hsl(55 61% 72%)oklch(88.2% 0.102 104.0)11.15 AAA
亮藍color12#9bc8b5rgb(155 200 181)hsl(155 29% 70%)oklch(79.5% 0.055 167.2)8.48 AAA
亮洋紅color13#bec7a0rgb(190 199 160)hsl(74 26% 70%)oklch(81.2% 0.054 118.2)8.89 AAA
亮青color14#7ddbc2rgb(125 219 194)hsl(164 57% 67%)oklch(82.6% 0.097 174.7)9.58 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.73 AAA

關於 5150 Mode

5150 Mode 採用冷色調的深色背景(#082820),預設前景色為 #ecf4db。正文的 WCAG 對比度為 13.88:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.28:1,最低 6.51:1。

色板整體色彩飽和度適中,其中紅色為 #d59a71、綠色為 #70bd83、藍色為 #80b3a0、洋紅為 #a8b38a。

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

與 5150 Mode 相似的配色

資料來源:iTerm2 Color Schemes (MIT)