跳到主要內容

Cassette Tape

Cassette Tape 是一套淺色終端機配色(暖色),背景色 #fff7ed,文字色 #2b1b12,對比度 15.6:1

取得設定檔
背景色
#fff7ed
前景色
#2b1b12
文字對比度
15.60:1AAA
強調色對比度
7.27:1最低 4.73
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
❯

Cassette Tape 的設定檔

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

Cassette Tape

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

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

palette = 0=#514339
palette = 1=#b91c1c
palette = 2=#3f6212
palette = 3=#be123c
palette = 4=#7c2d12
palette = 5=#0f766e
palette = 6=#b45309
palette = 7=#6b4f3f
palette = 8=#c4b39a
palette = 9=#941616
palette = 10=#324e0e
palette = 11=#9c0f31
palette = 12=#63240e
palette = 13=#0c5e58
palette = 14=#904207
palette = 15=#2b1b12
background = #fff7ed
foreground = #2b1b12
cursor-color = #2b1b12
cursor-text = #fff7ed
selection-background = #2b1b12
selection-foreground = #fff7ed

Cassette Tape 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fff7edrgb(255 247 237)hsl(33 100% 96%)oklch(98.0% 0.016 73.7)—
前景色foreground#2b1b12rgb(43 27 18)hsl(22 41% 12%)oklch(24.0% 0.030 50.2)15.60 AAA
游標cursor#2b1b12rgb(43 27 18)hsl(22 41% 12%)oklch(24.0% 0.030 50.2)15.60 AAA
游標文字cursorText#fff7edrgb(255 247 237)hsl(33 100% 96%)oklch(98.0% 0.016 73.7)1.00 低於 AA
選取範圍selection#2b1b12rgb(43 27 18)hsl(22 41% 12%)oklch(24.0% 0.030 50.2)15.60 AAA
選取文字selectionText#fff7edrgb(255 247 237)hsl(33 100% 96%)oklch(98.0% 0.016 73.7)1.00 低於 AA
黑color0#514339rgb(81 67 57)hsl(25 17% 27%)oklch(39.4% 0.025 57.4)8.94 AAA
紅color1#b91c1crgb(185 28 28)hsl(0 74% 42%)oklch(50.5% 0.190 27.5)6.09 AA
綠color2#3f6212rgb(63 98 18)hsl(86 69% 23%)oklch(45.3% 0.113 130.9)6.67 AA
黃color3#be123crgb(190 18 60)hsl(345 83% 41%)oklch(51.4% 0.198 16.9)5.92 AA
藍color4#7c2d12rgb(124 45 18)hsl(15 75% 28%)oklch(40.8% 0.116 38.2)8.83 AAA
洋紅color5#0f766ergb(15 118 110)hsl(175 77% 26%)oklch(51.1% 0.086 186.4)5.16 AA
青color6#b45309rgb(180 83 9)hsl(26 90% 37%)oklch(55.5% 0.146 49.0)4.73 AA
白color7#6b4f3frgb(107 79 63)hsl(22 26% 33%)oklch(45.3% 0.045 51.0)7.03 AAA
亮黑color8#c4b39argb(196 179 154)hsl(36 26% 69%)oklch(77.4% 0.040 77.5)1.93 低於 AA
亮紅color9#941616rgb(148 22 22)hsl(0 74% 33%)oklch(43.0% 0.160 27.3)8.29 AAA
亮綠color10#324e0ergb(50 78 14)hsl(86 70% 18%)oklch(38.8% 0.095 130.7)8.86 AAA
亮黃color11#9c0f31rgb(156 15 49)hsl(346 82% 34%)oklch(44.6% 0.170 16.6)7.83 AAA
亮藍color12#63240ergb(99 36 14)hsl(16 75% 22%)oklch(35.1% 0.097 38.6)11.05 AAA
亮洋紅color13#0c5e58rgb(12 94 88)hsl(176 77% 21%)oklch(43.6% 0.072 187.0)7.17 AAA
亮青color14#904207rgb(144 66 7)hsl(26 91% 30%)oklch(47.3% 0.122 49.4)6.66 AA
亮白color15#2b1b12rgb(43 27 18)hsl(22 41% 12%)oklch(24.0% 0.030 50.2)15.60 AAA

關於 Cassette Tape

Cassette Tape 採用暖色調的淺色背景(#fff7ed),預設前景色為 #2b1b12。內文的 WCAG 對比度為 15.60:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.27:1,最低 4.73:1。

色票整體色彩彩度適中,其中紅色為 #b91c1c、綠色為 #3f6212、藍色為 #7c2d12、洋紅為 #0f766e。

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

與 Cassette Tape 相似的配色

資料來源:iTerm2 Color Schemes (MIT)