跳到主要內容

Spacegray Bright

Spacegray Bright 是一套深色終端機配色(冷色),背景色 #2a2e3a,文字色 #f3f3f3,對比度 12.2:1

取得設定檔
背景色
#2a2e3a
前景色
#f3f3f3
文字對比度
12.21:1AAA
強調色對比度
5.86:1最低 2.94
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
❯

Spacegray Bright 的設定檔

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

Spacegray Bright

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

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

palette = 0=#080808
palette = 1=#bc5553
palette = 2=#a0b56c
palette = 3=#f6c987
palette = 4=#7baec1
palette = 5=#b98aae
palette = 6=#85c9b8
palette = 7=#d8d8d8
palette = 8=#626262
palette = 9=#bc5553
palette = 10=#a0b56c
palette = 11=#f6c987
palette = 12=#7baec1
palette = 13=#b98aae
palette = 14=#85c9b8
palette = 15=#f7f7f7
background = #2a2e3a
foreground = #f3f3f3
cursor-color = #c6c6c6
cursor-text = #8c8c8c
selection-background = #cacaca
selection-foreground = #000000

Spacegray Bright 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2a2e3argb(42 46 58)hsl(225 16% 20%)oklch(30.2% 0.022 270.6)—
前景色foreground#f3f3f3rgb(243 243 243)hsl(0 0% 95%)oklch(96.4% 0.000 0)12.21 AAA
光標cursor#c6c6c6rgb(198 198 198)hsl(0 0% 78%)oklch(82.7% 0.000 0)7.93 AAA
光標文字cursorText#8c8c8crgb(140 140 140)hsl(0 0% 55%)oklch(64.0% 0.000 0)4.03 AA 大字體
選取範圍selection#cacacargb(202 202 202)hsl(0 0% 79%)oklch(83.9% 0.000 0)8.26 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.55 低於 AA
黑color0#080808rgb(8 8 8)hsl(0 0% 3%)oklch(13.4% 0.000 0)1.48 低於 AA
紅color1#bc5553rgb(188 85 83)hsl(1 44% 53%)oklch(57.9% 0.134 23.3)2.94 低於 AA
綠color2#a0b56crgb(160 181 108)hsl(77 33% 57%)oklch(74.0% 0.100 122.0)6.01 AA
黃color3#f6c987rgb(246 201 135)hsl(36 86% 75%)oklch(86.1% 0.098 76.4)8.79 AAA
藍color4#7baec1rgb(123 174 193)hsl(196 36% 62%)oklch(72.2% 0.060 223.1)5.59 AA
洋紅color5#b98aaergb(185 138 174)hsl(314 25% 63%)oklch(69.0% 0.075 334.9)4.71 AA
青color6#85c9b8rgb(133 201 184)hsl(165 39% 65%)oklch(78.6% 0.073 176.8)7.12 AAA
白color7#d8d8d8rgb(216 216 216)hsl(0 0% 85%)oklch(88.2% 0.000 0)9.50 AAA
亮黑color8#626262rgb(98 98 98)hsl(0 0% 38%)oklch(49.6% 0.000 0)2.22 低於 AA
亮紅color9#bc5553rgb(188 85 83)hsl(1 44% 53%)oklch(57.9% 0.134 23.3)2.94 低於 AA
亮綠color10#a0b56crgb(160 181 108)hsl(77 33% 57%)oklch(74.0% 0.100 122.0)6.01 AA
亮黃color11#f6c987rgb(246 201 135)hsl(36 86% 75%)oklch(86.1% 0.098 76.4)8.79 AAA
亮藍color12#7baec1rgb(123 174 193)hsl(196 36% 62%)oklch(72.2% 0.060 223.1)5.59 AA
亮洋紅color13#b98aaergb(185 138 174)hsl(314 25% 63%)oklch(69.0% 0.075 334.9)4.71 AA
亮青color14#85c9b8rgb(133 201 184)hsl(165 39% 65%)oklch(78.6% 0.073 176.8)7.12 AAA
亮白color15#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)12.64 AAA

關於 Spacegray Bright

Spacegray Bright 採用冷色調的深色背景(#2a2e3a),預設前景色為 #f3f3f3。正文的 WCAG 對比度為 12.21:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.86:1,最低 2.94:1。

色板整體色彩飽和度適中,其中紅色為 #bc5553、綠色為 #a0b56c、藍色為 #7baec1、洋紅為 #b98aae。該配色歸屬 Spacegray 主題系列。

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

與 Spacegray Bright 相似的配色

資料來源:iTerm2 Color Schemes (MIT)