跳到主要內容

Phrak1

Phrak1 是一套深色終端機配色(純黑、鮮豔),背景色 #000000,文字色 #a8a8a8,對比度 8.8:1

取得設定檔
背景色
#000000
前景色
#a8a8a8
文字對比度
8.83:1AAA
強調色對比度
7.85:1最低 1.57
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
❯

Phrak1 的設定檔

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

Phrak1

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

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

palette = 0=#000000
palette = 1=#a80000
palette = 2=#00a800
palette = 3=#a85400
palette = 4=#0000a8
palette = 5=#a800a8
palette = 6=#00a8a8
palette = 7=#a8a8a8
palette = 8=#545054
palette = 9=#f85450
palette = 10=#50fc50
palette = 11=#f8fc50
palette = 12=#5054f8
palette = 13=#f854f8
palette = 14=#50fcf8
palette = 15=#f8fcf8
background = #000000
foreground = #a8a8a8
cursor-color = #a8a8a8
cursor-text = #000000
selection-background = #121212
selection-foreground = #a8a8a8

Phrak1 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#a8a8a8rgb(168 168 168)hsl(0 0% 66%)oklch(73.2% 0.000 0)8.83 AAA
游標cursor#a8a8a8rgb(168 168 168)hsl(0 0% 66%)oklch(73.2% 0.000 0)8.83 AAA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#121212rgb(18 18 18)hsl(0 0% 7%)oklch(18.2% 0.000 0)1.12 低於 AA
選取文字selectionText#a8a8a8rgb(168 168 168)hsl(0 0% 66%)oklch(73.2% 0.000 0)8.83 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#a80000rgb(168 0 0)hsl(0 100% 33%)oklch(45.9% 0.189 29.2)2.66 低於 AA
綠color2#00a800rgb(0 168 0)hsl(120 100% 33%)oklch(63.4% 0.216 142.5)6.60 AA
黃color3#a85400rgb(168 84 0)hsl(30 100% 33%)oklch(53.9% 0.135 54.2)3.93 AA 大字級
藍color4#0000a8rgb(0 0 168)hsl(240 100% 33%)oklch(33.1% 0.229 264.1)1.57 低於 AA
洋紅color5#a800a8rgb(168 0 168)hsl(300 100% 33%)oklch(51.3% 0.236 328.4)3.23 AA 大字級
青color6#00a8a8rgb(0 168 168)hsl(180 100% 33%)oklch(66.2% 0.113 194.8)7.17 AAA
白color7#a8a8a8rgb(168 168 168)hsl(0 0% 66%)oklch(73.2% 0.000 0)8.83 AAA
亮黑color8#545054rgb(84 80 84)hsl(300 2% 32%)oklch(43.6% 0.008 325.7)2.65 低於 AA
亮紅color9#f85450rgb(248 84 80)hsl(1 92% 64%)oklch(66.9% 0.201 25.6)6.38 AA
亮綠color10#50fc50rgb(80 252 80)hsl(120 97% 65%)oklch(87.1% 0.254 143.0)15.38 AAA
亮黃color11#f8fc50rgb(248 252 80)hsl(61 97% 65%)oklch(95.9% 0.185 110.7)19.03 AAA
亮藍color12#5054f8rgb(80 84 248)hsl(239 92% 64%)oklch(54.9% 0.238 274.2)3.96 AA 大字級
亮洋紅color13#f854f8rgb(248 84 248)hsl(300 92% 65%)oklch(72.6% 0.264 327.9)7.61 AAA
亮青color14#50fcf8rgb(80 252 248)hsl(179 97% 65%)oklch(90.5% 0.137 192.7)16.62 AAA
亮白color15#f8fcf8rgb(248 252 248)hsl(120 40% 98%)oklch(98.7% 0.007 145.5)20.27 AAA

關於 Phrak1

Phrak1 採用中性色調的深色背景(#000000),預設前景色為 #a8a8a8。內文的 WCAG 對比度為 8.83:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.85:1,最低 1.57:1。

色票整體色彩彩度較高,其中紅色為 #a80000、綠色為 #00a800、藍色為 #0000a8、洋紅為 #a800a8。

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

與 Phrak1 相似的配色

資料來源:terminal.sexy (MIT)