跳到主要內容

Scarlet Protocol

Scarlet Protocol 是一套深色終端機配色(柔和、鮮豔),背景色 #1c153d,文字色 #e41951,對比度 3.7:1

取得設定檔
背景色
#1c153d
前景色
#e41951
文字對比度
3.72:1AA 大字級
強調色對比度
8.44:1最低 3.30
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
❯

Scarlet Protocol 的設定檔

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

Scarlet Protocol

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

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

palette = 0=#101116
palette = 1=#ff0051
palette = 2=#00dc84
palette = 3=#faf945
palette = 4=#0271b6
palette = 5=#ca30c7
palette = 6=#00c5c7
palette = 7=#c7c7c7
palette = 8=#686868
palette = 9=#ff6e67
palette = 10=#5ffa68
palette = 11=#fffc67
palette = 12=#6871ff
palette = 13=#bd35ec
palette = 14=#60fdff
palette = 15=#ffffff
background = #1c153d
foreground = #e41951
cursor-color = #76ff9f
cursor-text = #ffffff
selection-background = #c1deff
selection-foreground = #000000

Scarlet Protocol 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c153drgb(28 21 61)hsl(251 49% 16%)oklch(23.0% 0.074 287.2)—
前景色foreground#e41951rgb(228 25 81)hsl(343 80% 50%)oklch(59.1% 0.227 14.7)3.72 AA 大字級
游標cursor#76ff9frgb(118 255 159)hsl(138 100% 73%)oklch(90.0% 0.179 151.0)13.54 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.16 AAA
選取範圍selection#c1deffrgb(193 222 255)hsl(212 100% 88%)oklch(89.0% 0.055 251.8)12.39 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.22 低於 AA
黑color0#101116rgb(16 17 22)hsl(230 16% 7%)oklch(17.9% 0.010 276.4)1.10 低於 AA
紅color1#ff0051rgb(255 0 81)hsl(341 100% 50%)oklch(63.5% 0.254 16.6)4.39 AA 大字級
綠color2#00dc84rgb(0 220 132)hsl(156 100% 43%)oklch(78.7% 0.190 156.1)9.45 AAA
黃color3#faf945rgb(250 249 69)hsl(60 95% 63%)oklch(95.3% 0.188 109.2)15.28 AAA
藍color4#0271b6rgb(2 113 182)hsl(203 98% 36%)oklch(53.2% 0.137 246.2)3.30 AA 大字級
洋紅color5#ca30c7rgb(202 48 199)hsl(301 62% 49%)oklch(60.5% 0.244 329.0)3.89 AA 大字級
青color6#00c5c7rgb(0 197 199)hsl(181 100% 39%)oklch(74.6% 0.127 196.1)8.02 AAA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)10.15 AAA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.08 AA 大字級
亮紅color9#ff6e67rgb(255 110 103)hsl(3 100% 70%)oklch(71.5% 0.178 25.4)6.27 AA
亮綠color10#5ffa68rgb(95 250 104)hsl(123 94% 68%)oklch(87.3% 0.230 144.2)12.55 AAA
亮黃color11#fffc67rgb(255 252 103)hsl(59 100% 70%)oklch(96.6% 0.168 108.1)15.83 AAA
亮藍color12#6871ffrgb(104 113 255)hsl(236 100% 70%)oklch(61.8% 0.208 275.8)4.41 AA 大字級
亮洋紅color13#bd35ecrgb(189 53 236)hsl(285 83% 57%)oklch(61.4% 0.263 315.4)3.99 AA 大字級
亮青color14#60fdffrgb(96 253 255)hsl(181 100% 69%)oklch(91.3% 0.130 196.3)13.88 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.16 AAA

關於 Scarlet Protocol

Scarlet Protocol 採用冷色調的深色背景(#1c153d),預設前景色為 #e41951。內文的 WCAG 對比度為 3.72:1(AA 大字級),12 種 ANSI 彩色槽位平均對比度 8.44:1,最低 3.30:1。

色票整體色彩彩度較高,其中紅色為 #ff0051、綠色為 #00dc84、藍色為 #0271b6、洋紅為 #ca30c7。

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

與 Scarlet Protocol 相似的配色

資料來源:iTerm2 Color Schemes (MIT)