跳到主要內容

C64

C64 是一套深色終端機配色(柔和、冷色),背景色 #40318d,文字色 #7869c4,對比度 2.3:1

取得設定檔
背景色
#40318d
前景色
#7869c4
文字對比度
2.26:1低於 AA
強調色對比度
2.92:1最低 1.00
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
❯

C64 的設定檔

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

C64

存到 ~/.config/ghostty/themes/C64,再在 config 或 config.ghostty 裏寫 theme = C64

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

palette = 0=#090300
palette = 1=#883932
palette = 2=#55a049
palette = 3=#bfce72
palette = 4=#40318d
palette = 5=#8b3f96
palette = 6=#67b6bd
palette = 7=#ffffff
palette = 8=#000000
palette = 9=#883932
palette = 10=#55a049
palette = 11=#bfce72
palette = 12=#40318d
palette = 13=#8b3f96
palette = 14=#67b6bd
palette = 15=#f7f7f7
background = #40318d
foreground = #7869c4
cursor-color = #7869c4
cursor-text = #40318d
selection-background = #7869c4
selection-foreground = #40318d

C64 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#40318drgb(64 49 141)hsl(250 48% 37%)oklch(38.7% 0.146 284.8)—
前景色foreground#7869c4rgb(120 105 196)hsl(250 44% 59%)oklch(57.7% 0.137 289.0)2.26 低於 AA
光標cursor#7869c4rgb(120 105 196)hsl(250 44% 59%)oklch(57.7% 0.137 289.0)2.26 低於 AA
光標文字cursorText#40318drgb(64 49 141)hsl(250 48% 37%)oklch(38.7% 0.146 284.8)1.00 低於 AA
選取範圍selection#7869c4rgb(120 105 196)hsl(250 44% 59%)oklch(57.7% 0.137 289.0)2.26 低於 AA
選取文字selectionText#40318drgb(64 49 141)hsl(250 48% 37%)oklch(38.7% 0.146 284.8)1.00 低於 AA
黑color0#090300rgb(9 3 0)hsl(20 100% 2%)oklch(10.9% 0.024 66.2)1.99 低於 AA
紅color1#883932rgb(136 57 50)hsl(5 46% 36%)oklch(45.1% 0.110 27.4)1.31 低於 AA
綠color2#55a049rgb(85 160 73)hsl(112 37% 46%)oklch(63.7% 0.144 141.0)3.19 AA 大字體
黃color3#bfce72rgb(191 206 114)hsl(70 48% 63%)oklch(82.0% 0.118 116.7)6.02 AA
藍color4#40318drgb(64 49 141)hsl(250 48% 37%)oklch(38.7% 0.146 284.8)1.00 低於 AA
洋紅color5#8b3f96rgb(139 63 150)hsl(292 41% 42%)oklch(50.2% 0.153 322.4)1.59 低於 AA
青color6#67b6bdrgb(103 182 189)hsl(185 39% 57%)oklch(72.8% 0.078 203.0)4.41 AA 大字體
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)10.28 AAA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)2.04 低於 AA
亮紅color9#883932rgb(136 57 50)hsl(5 46% 36%)oklch(45.1% 0.110 27.4)1.31 低於 AA
亮綠color10#55a049rgb(85 160 73)hsl(112 37% 46%)oklch(63.7% 0.144 141.0)3.19 AA 大字體
亮黃color11#bfce72rgb(191 206 114)hsl(70 48% 63%)oklch(82.0% 0.118 116.7)6.02 AA
亮藍color12#40318drgb(64 49 141)hsl(250 48% 37%)oklch(38.7% 0.146 284.8)1.00 低於 AA
亮洋紅color13#8b3f96rgb(139 63 150)hsl(292 41% 42%)oklch(50.2% 0.153 322.4)1.59 低於 AA
亮青color14#67b6bdrgb(103 182 189)hsl(185 39% 57%)oklch(72.8% 0.078 203.0)4.41 AA 大字體
亮白color15#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)9.60 AAA

關於 C64

C64 採用冷色調的深色背景(#40318d),預設前景色為 #7869c4。正文的 WCAG 對比度為 2.26:1(低於 AA),12 種 ANSI 彩色槽位平均對比度 2.92:1,最低 1.00:1。

色板整體色彩飽和度適中,其中紅色為 #883932、綠色為 #55a049、藍色為 #40318d、洋紅為 #8b3f96。

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

與 C64 相似的配色

資料來源:iTerm2 Color Schemes (MIT)