跳到主要內容

Crystal Ball

Crystal Ball 是一套深色終端機配色(粉彩、冷色),背景色 #2b1050,文字色 #f2edff,對比度 14.2:1

取得設定檔
背景色
#2b1050
前景色
#f2edff
文字對比度
14.18:1AAA
強調色對比度
8.85:1最低 6.45
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
❯

Crystal Ball 的設定檔

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

Crystal Ball

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

更多 Ghostty 配色
原始檔
# Theme: Crystal Ball (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/crystal-ball?format=ghostty

palette = 0=#b7acc9
palette = 1=#ef8ca4
palette = 2=#9ed08c
palette = 3=#dfc86b
palette = 4=#82c8ef
palette = 5=#c18df0
palette = 6=#77d7de
palette = 7=#f2edff
palette = 8=#c0b6cf
palette = 9=#f19aaf
palette = 10=#aad69a
palette = 11=#e3cf7d
palette = 12=#91cff1
palette = 13=#c89bf2
palette = 14=#87dce2
palette = 15=#f4efff
background = #2b1050
foreground = #f2edff
cursor-color = #f19aaf
cursor-text = #2b1050
selection-background = #c0b6cf
selection-foreground = #fffcff

Crystal Ball 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2b1050rgb(43 16 80)hsl(265 67% 19%)oklch(25.8% 0.109 297.3)—
前景色foreground#f2edffrgb(242 237 255)hsl(257 100% 96%)oklch(95.5% 0.025 298.6)14.18 AAA
游標cursor#f19aafrgb(241 154 175)hsl(346 76% 77%)oklch(77.9% 0.107 4.2)7.72 AAA
游標文字cursorText#2b1050rgb(43 16 80)hsl(265 67% 19%)oklch(25.8% 0.109 297.3)1.00 低於 AA
選取範圍selection#c0b6cfrgb(192 182 207)hsl(264 21% 76%)oklch(79.2% 0.037 303.7)8.38 AAA
選取文字selectionText#fffcffrgb(255 252 255)hsl(300 100% 99%)oklch(99.4% 0.005 325.6)15.95 AAA
黑color0#b7acc9rgb(183 172 201)hsl(263 21% 73%)oklch(76.3% 0.043 302.6)7.55 AAA
紅color1#ef8ca4rgb(239 140 164)hsl(345 76% 74%)oklch(75.1% 0.123 4.8)6.93 AA
綠color2#9ed08crgb(158 208 140)hsl(104 42% 68%)oklch(80.6% 0.106 137.6)9.17 AAA
黃color3#dfc86brgb(223 200 107)hsl(48 64% 65%)oklch(83.3% 0.117 95.8)9.76 AAA
藍color4#82c8efrgb(130 200 239)hsl(201 77% 72%)oklch(80.1% 0.090 233.9)8.86 AAA
洋紅color5#c18df0rgb(193 141 240)hsl(272 77% 75%)oklch(73.1% 0.148 307.3)6.45 AA
青color6#77d7dergb(119 215 222)hsl(184 61% 67%)oklch(82.3% 0.091 201.7)9.72 AAA
白color7#f2edffrgb(242 237 255)hsl(257 100% 96%)oklch(95.5% 0.025 298.6)14.18 AAA
亮黑color8#c0b6cfrgb(192 182 207)hsl(264 21% 76%)oklch(79.2% 0.037 303.7)8.38 AAA
亮紅color9#f19aafrgb(241 154 175)hsl(346 76% 77%)oklch(77.9% 0.107 4.2)7.72 AAA
亮綠color10#aad69argb(170 214 154)hsl(104 42% 72%)oklch(83.0% 0.094 137.5)9.90 AAA
亮黃color11#e3cf7drgb(227 207 125)hsl(48 65% 69%)oklch(85.3% 0.105 96.1)10.43 AAA
亮藍color12#91cff1rgb(145 207 241)hsl(201 77% 76%)oklch(82.4% 0.079 233.0)9.59 AAA
亮洋紅color13#c89bf2rgb(200 155 242)hsl(271 77% 78%)oklch(76.3% 0.130 307.3)7.29 AAA
亮青color14#87dce2rgb(135 220 226)hsl(184 61% 71%)oklch(84.3% 0.083 201.5)10.34 AAA
亮白color15#f4efffrgb(244 239 255)hsl(259 100% 97%)oklch(96.1% 0.022 300.2)14.42 AAA

關於 Crystal Ball

Crystal Ball 採用冷色調的深色背景(#2b1050),預設前景色為 #f2edff。內文的 WCAG 對比度為 14.18:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.85:1,最低 6.45:1。

色票整體色彩彩度適中,其中紅色為 #ef8ca4、綠色為 #9ed08c、藍色為 #82c8ef、洋紅為 #c18df0。

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

與 Crystal Ball 相似的配色

資料來源:iTerm2 Color Schemes (MIT)