跳到主要內容

Sublette

Sublette 是一套深色終端機配色(冷色),背景色 #202535,文字色 #ccced0,對比度 9.7:1

取得設定檔
背景色
#202535
前景色
#ccced0
文字對比度
9.66:1AAA
強調色對比度
8.57:1最低 4.50
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
❯

Sublette 的設定檔

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

Sublette

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

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

palette = 0=#253045
palette = 1=#ee5577
palette = 2=#55ee77
palette = 3=#ffdd88
palette = 4=#5588ff
palette = 5=#ff77cc
palette = 6=#44eeee
palette = 7=#f5f5da
palette = 8=#405570
palette = 9=#ee6655
palette = 10=#99ee77
palette = 11=#ffff77
palette = 12=#77bbff
palette = 13=#aa88ff
palette = 14=#55ffbb
palette = 15=#ffffee
background = #202535
foreground = #ccced0
cursor-color = #ccced0
cursor-text = #202535
selection-background = #ccced0
selection-foreground = #202535

Sublette 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#202535rgb(32 37 53)hsl(226 25% 17%)oklch(26.7% 0.031 270.8)—
前景色foreground#ccced0rgb(204 206 208)hsl(210 4% 81%)oklch(85.0% 0.004 247.9)9.66 AAA
游標cursor#ccced0rgb(204 206 208)hsl(210 4% 81%)oklch(85.0% 0.004 247.9)9.66 AAA
游標文字cursorText#202535rgb(32 37 53)hsl(226 25% 17%)oklch(26.7% 0.031 270.8)1.00 低於 AA
選取範圍selection#ccced0rgb(204 206 208)hsl(210 4% 81%)oklch(85.0% 0.004 247.9)9.66 AAA
選取文字selectionText#202535rgb(32 37 53)hsl(226 25% 17%)oklch(26.7% 0.031 270.8)1.00 低於 AA
黑color0#253045rgb(37 48 69)hsl(219 30% 21%)oklch(30.9% 0.041 262.9)1.15 低於 AA
紅color1#ee5577rgb(238 85 119)hsl(347 82% 63%)oklch(66.2% 0.189 10.5)4.50 AA
綠color2#55ee77rgb(85 238 119)hsl(133 82% 63%)oklch(84.2% 0.206 147.6)10.08 AAA
黃color3#ffdd88rgb(255 221 136)hsl(43 100% 77%)oklch(90.8% 0.111 88.4)11.58 AAA
藍color4#5588ffrgb(85 136 255)hsl(222 100% 67%)oklch(65.1% 0.185 264.4)4.61 AA
洋紅color5#ff77ccrgb(255 119 204)hsl(323 100% 73%)oklch(75.4% 0.190 344.2)6.36 AA
青color6#44eeeergb(68 238 238)hsl(180 83% 60%)oklch(86.6% 0.134 195.0)10.68 AAA
白color7#f5f5dargb(245 245 218)hsl(60 57% 91%)oklch(96.3% 0.035 107.0)13.76 AAA
亮黑color8#405570rgb(64 85 112)hsl(214 27% 35%)oklch(44.4% 0.052 255.0)2.00 低於 AA
亮紅color9#ee6655rgb(238 102 85)hsl(7 82% 63%)oklch(67.6% 0.172 29.5)4.84 AA
亮綠color10#99ee77rgb(153 238 119)hsl(103 78% 70%)oklch(86.9% 0.175 137.5)10.78 AAA
亮黃color11#ffff77rgb(255 255 119)hsl(60 100% 73%)oklch(97.4% 0.157 109.0)14.39 AAA
亮藍color12#77bbffrgb(119 187 255)hsl(210 100% 73%)oklch(77.4% 0.120 249.6)7.50 AAA
亮洋紅color13#aa88ffrgb(170 136 255)hsl(257 100% 77%)oklch(70.9% 0.170 294.8)5.57 AA
亮青color14#55ffbbrgb(85 255 187)hsl(156 100% 67%)oklch(89.6% 0.169 162.5)11.91 AAA
亮白color15#ffffeergb(255 255 238)hsl(60 100% 97%)oklch(99.5% 0.022 106.8)15.09 AAA

關於 Sublette

Sublette 採用冷色調的深色背景(#202535),預設前景色為 #ccced0。內文的 WCAG 對比度為 9.66:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.57:1,最低 4.50:1。

色票整體色彩彩度適中,其中紅色為 #ee5577、綠色為 #55ee77、藍色為 #5588ff、洋紅為 #ff77cc。

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

與 Sublette 相似的配色

資料來源:iTerm2 Color Schemes (MIT)