跳到主要內容

CRT Amber

CRT Amber 是一套深色終端機配色(高對比、暖色),背景色 #1a1005,文字色 #fff3c4,對比度 16.8:1

取得設定檔
背景色
#1a1005
前景色
#fff3c4
文字對比度
16.84:1AAA
強調色對比度
9.31:1最低 4.98
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
❯

CRT Amber 的設定檔

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

CRT Amber

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

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

palette = 0=#4c422f
palette = 1=#ef4444
palette = 2=#84cc16
palette = 3=#fde68a
palette = 4=#c084fc
palette = 5=#f97316
palette = 6=#f59e0b
palette = 7=#d8a657
palette = 8=#544435
palette = 9=#f26969
palette = 10=#9dd645
palette = 11=#fdeb9f
palette = 12=#cd9dfd
palette = 13=#fa8f45
palette = 14=#f7b13c
palette = 15=#fff3c4
background = #1a1005
foreground = #fff3c4
cursor-color = #fff3c4
cursor-text = #1a1005
selection-background = #fff3c4
selection-foreground = #1a1005

CRT Amber 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1005rgb(26 16 5)hsl(31 68% 6%)oklch(18.3% 0.027 69.8)—
前景色foreground#fff3c4rgb(255 243 196)hsl(48 100% 88%)oklch(96.2% 0.062 95.4)16.84 AAA
光標cursor#fff3c4rgb(255 243 196)hsl(48 100% 88%)oklch(96.2% 0.062 95.4)16.84 AAA
光標文字cursorText#1a1005rgb(26 16 5)hsl(31 68% 6%)oklch(18.3% 0.027 69.8)1.00 低於 AA
選取範圍selection#fff3c4rgb(255 243 196)hsl(48 100% 88%)oklch(96.2% 0.062 95.4)16.84 AAA
選取文字selectionText#1a1005rgb(26 16 5)hsl(31 68% 6%)oklch(18.3% 0.027 69.8)1.00 低於 AA
黑color0#4c422frgb(76 66 47)hsl(39 24% 24%)oklch(38.4% 0.033 83.2)1.90 低於 AA
紅color1#ef4444rgb(239 68 68)hsl(0 84% 60%)oklch(63.7% 0.208 25.3)4.98 AA
綠color2#84cc16rgb(132 204 22)hsl(84 81% 44%)oklch(76.8% 0.204 130.8)9.49 AAA
黃color3#fde68argb(253 230 138)hsl(48 97% 77%)oklch(92.4% 0.115 95.7)15.05 AAA
藍color4#c084fcrgb(192 132 252)hsl(270 95% 75%)oklch(72.2% 0.177 305.5)7.09 AAA
洋紅color5#f97316rgb(249 115 22)hsl(25 95% 53%)oklch(70.5% 0.187 47.6)6.69 AA
青color6#f59e0brgb(245 158 11)hsl(38 92% 50%)oklch(76.9% 0.165 70.1)8.73 AAA
白color7#d8a657rgb(216 166 87)hsl(37 62% 59%)oklch(75.6% 0.113 77.0)8.49 AAA
亮黑color8#544435rgb(84 68 53)hsl(29 23% 27%)oklch(39.9% 0.033 64.8)2.01 低於 AA
亮紅color9#f26969rgb(242 105 105)hsl(0 84% 68%)oklch(69.0% 0.169 22.6)6.25 AA
亮綠color10#9dd645rgb(157 214 69)hsl(84 64% 55%)oklch(80.9% 0.182 128.5)10.84 AAA
亮黃color11#fdeb9frgb(253 235 159)hsl(49 96% 81%)oklch(93.8% 0.097 96.4)15.68 AAA
亮藍color12#cd9dfdrgb(205 157 253)hsl(270 96% 80%)oklch(77.6% 0.142 306.4)8.78 AAA
亮洋紅color13#fa8f45rgb(250 143 69)hsl(25 95% 63%)oklch(75.2% 0.156 52.4)8.11 AAA
亮青color14#f7b13crgb(247 177 60)hsl(38 92% 60%)oklch(80.7% 0.150 75.8)10.10 AAA
亮白color15#fff3c4rgb(255 243 196)hsl(48 100% 88%)oklch(96.2% 0.062 95.4)16.84 AAA

關於 CRT Amber

CRT Amber 採用暖色調的深色背景(#1a1005),預設前景色為 #fff3c4。正文的 WCAG 對比度為 16.84:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.31:1,最低 4.98:1。

色板整體色彩飽和度適中,其中紅色為 #ef4444、綠色為 #84cc16、藍色為 #c084fc、洋紅為 #f97316。

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

與 CRT Amber 相似的配色

資料來源:iTerm2 Color Schemes (MIT)