跳到主要內容

Apple System Colors

Apple System Colors 是一套深色終端機配色(鮮豔),背景色 #1e1e1e,文字色 #ffffff,對比度 16.7:1

取得設定檔
背景色
#1e1e1e
前景色
#ffffff
文字對比度
16.67:1AAA
強調色對比度
6.05:1最低 3.09
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
❯

Apple System Colors 的設定檔

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

Apple System Colors

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

更多 Ghostty 配色
原始檔
# Theme: Apple System Colors (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/apple-system-colors?format=ghostty

palette = 0=#1a1a1a
palette = 1=#cc372e
palette = 2=#26a439
palette = 3=#cdac08
palette = 4=#0869cb
palette = 5=#9647bf
palette = 6=#479ec2
palette = 7=#98989d
palette = 8=#464646
palette = 9=#ff453a
palette = 10=#32d74b
palette = 11=#ffd60a
palette = 12=#0a84ff
palette = 13=#bf5af2
palette = 14=#76d6ff
palette = 15=#ffffff
background = #1e1e1e
foreground = #ffffff
cursor-color = #98989d
cursor-text = #ffffff
selection-background = #3f638b
selection-foreground = #ffffff

Apple System Colors 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
游標cursor#98989drgb(152 152 157)hsl(240 2% 61%)oklch(68.1% 0.007 286.2)5.81 AA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
選取範圍selection#3f638brgb(63 99 139)hsl(212 38% 40%)oklch(49.0% 0.077 252.0)2.67 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
黑color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.04 低於 AA
紅color1#cc372ergb(204 55 46)hsl(3 63% 49%)oklch(56.2% 0.187 28.2)3.30 AA 大字級
綠color2#26a439rgb(38 164 57)hsl(129 62% 40%)oklch(63.0% 0.181 145.1)5.12 AA
黃color3#cdac08rgb(205 172 8)hsl(50 92% 42%)oklch(75.2% 0.153 95.0)7.54 AAA
藍color4#0869cbrgb(8 105 203)hsl(210 92% 41%)oklch(52.9% 0.171 255.2)3.09 AA 大字級
洋紅color5#9647bfrgb(150 71 191)hsl(280 48% 51%)oklch(55.1% 0.188 312.2)3.14 AA 大字級
青color6#479ec2rgb(71 158 194)hsl(198 50% 52%)oklch(66.1% 0.099 228.3)5.51 AA
白color7#98989drgb(152 152 157)hsl(240 2% 61%)oklch(68.1% 0.007 286.2)5.81 AA
亮黑color8#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)1.77 低於 AA
亮紅color9#ff453argb(255 69 58)hsl(3 100% 61%)oklch(66.3% 0.224 28.3)4.89 AA
亮綠color10#32d74brgb(50 215 75)hsl(129 67% 52%)oklch(77.0% 0.224 145.0)8.70 AAA
亮黃color11#ffd60argb(255 214 10)hsl(50 100% 52%)oklch(88.5% 0.181 94.8)11.81 AAA
亮藍color12#0a84ffrgb(10 132 255)hsl(210 100% 52%)oklch(62.4% 0.206 255.5)4.57 AA
亮洋紅color13#bf5af2rgb(191 90 242)hsl(280 85% 65%)oklch(65.6% 0.227 312.4)4.73 AA
亮青color14#76d6ffrgb(118 214 255)hsl(198 100% 73%)oklch(83.2% 0.107 227.9)10.19 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA

關於 Apple System Colors

Apple System Colors 採用中性色調的深色背景(#1e1e1e),預設前景色為 #ffffff。內文的 WCAG 對比度為 16.67:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.05:1,最低 3.09:1。

色票整體色彩彩度較高,其中紅色為 #cc372e、綠色為 #26a439、藍色為 #0869cb、洋紅為 #9647bf。此配色歸屬 Apple 主題系列。

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

與 Apple System Colors 相似的配色

資料來源:iTerm2 Color Schemes (MIT)