跳到正文

Apple Classic

Apple Classic 是一套深色终端配色(柔和、鲜艳),背景色 #2c2b2b,文字色 #d5a200,对比度 6.0:1

获取配置
背景色
#2c2b2b
前景色
#d5a200
文字对比度
6.05:1AA
强调色对比度
6.41:1最低 1.41
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 Classic 的配置文件

16 种格式,都从同一份色板生成

Apple Classic

存到 ~/.config/ghostty/themes/Apple Classic,再在 config 或 config.ghostty 里写 theme = Apple Classic

更多 Ghostty 配色
原始文件
# Theme: Apple Classic (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/apple-classic?format=ghostty

palette = 0=#000000
palette = 1=#c91b00
palette = 2=#00c200
palette = 3=#c7c400
palette = 4=#0225c7
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=#ff77ff
palette = 14=#60fdff
palette = 15=#ffffff
background = #2c2b2b
foreground = #d5a200
cursor-color = #c7c7c7
cursor-text = #ffffff
selection-background = #6b5b02
selection-foreground = #67e000

Apple Classic 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#2c2b2brgb(44 43 43)hsl(0 1% 17%)oklch(29.0% 0.001 17.2)—
前景色foreground#d5a200rgb(213 162 0)hsl(46 100% 42%)oklch(73.9% 0.151 85.8)6.05 AA
光标cursor#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)8.35 AAA
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.12 AAA
选区selection#6b5b02rgb(107 91 2)hsl(51 96% 21%)oklch(47.3% 0.097 97.1)2.10 低于 AA
选区文字selectionText#67e000rgb(103 224 0)hsl(92 100% 44%)oklch(80.4% 0.244 137.0)8.23 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.49 低于 AA
红color1#c91b00rgb(201 27 0)hsl(8 100% 39%)oklch(53.4% 0.207 31.1)2.45 低于 AA
绿color2#00c200rgb(0 194 0)hsl(120 100% 38%)oklch(70.5% 0.240 142.5)5.86 AA
黄color3#c7c400rgb(199 196 0)hsl(59 100% 39%)oklch(79.7% 0.172 108.6)7.61 AAA
蓝color4#0225c7rgb(2 37 199)hsl(229 98% 39%)oklch(40.2% 0.242 264.3)1.41 低于 AA
品红color5#ca30c7rgb(202 48 199)hsl(301 62% 49%)oklch(60.5% 0.244 329.0)3.20 AA 大字号
青color6#00c5c7rgb(0 197 199)hsl(181 100% 39%)oklch(74.6% 0.127 196.1)6.60 AA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)8.35 AAA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)2.53 低于 AA
亮红color9#ff6e67rgb(255 110 103)hsl(3 100% 70%)oklch(71.5% 0.178 25.4)5.16 AA
亮绿color10#5ffa68rgb(95 250 104)hsl(123 94% 68%)oklch(87.3% 0.230 144.2)10.33 AAA
亮黄color11#fffc67rgb(255 252 103)hsl(59 100% 70%)oklch(96.6% 0.168 108.1)13.02 AAA
亮蓝color12#6871ffrgb(104 113 255)hsl(236 100% 70%)oklch(61.8% 0.208 275.8)3.63 AA 大字号
亮品红color13#ff77ffrgb(255 119 255)hsl(300 100% 73%)oklch(77.6% 0.228 327.5)6.28 AA
亮青color14#60fdffrgb(96 253 255)hsl(181 100% 69%)oklch(91.3% 0.130 196.3)11.42 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.12 AAA

关于 Apple Classic

Apple Classic 采用中性色调的深色背景(#2c2b2b),默认前景色为 #d5a200。正文的 WCAG 对比度为 6.05:1(AA),12 种 ANSI 彩色槽位平均对比度 6.41:1,最低 1.41:1。

色板整体色彩饱和度较高,其中红色为 #c91b00、绿色为 #00c200、蓝色为 #0225c7、品红为 #ca30c7。该配色归属 Apple 主题系列。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Apple Classic 相似的配色

数据来源:iTerm2 Color Schemes (MIT)