跳到主要內容

X Helsinki

X Helsinki 是一套淺色終端機配色,背景色 #f8fafe,文字色 #544d40,對比度 8.0:1

取得設定檔
背景色
#f8fafe
前景色
#544d40
文字對比度
8.00:1AAA
強調色對比度
5.26:1最低 2.75
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
❯

X Helsinki 的設定檔

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

X Helsinki

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

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

palette = 0=#f8fafe
palette = 1=#1faa9e
palette = 2=#733d9a
palette = 3=#2e70ad
palette = 4=#b55a0f
palette = 5=#3e9d21
palette = 6=#bd4c3d
palette = 7=#544d40
palette = 8=#b0a999
palette = 9=#009e91
palette = 10=#5a1f8a
palette = 11=#0f5ba2
palette = 12=#b23b00
palette = 13=#218c00
palette = 14=#b32e1f
palette = 15=#000000
background = #f8fafe
foreground = #544d40
cursor-color = #544d40
cursor-text = #f8fafe
selection-background = #544d40
selection-foreground = #f8fafe

X Helsinki 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f8fafergb(248 250 254)hsl(220 75% 98%)oklch(98.5% 0.006 264.5)—
前景色foreground#544d40rgb(84 77 64)hsl(39 14% 29%)oklch(42.3% 0.023 83.0)8.00 AAA
游標cursor#544d40rgb(84 77 64)hsl(39 14% 29%)oklch(42.3% 0.023 83.0)8.00 AAA
游標文字cursorText#f8fafergb(248 250 254)hsl(220 75% 98%)oklch(98.5% 0.006 264.5)1.00 低於 AA
選取範圍selection#544d40rgb(84 77 64)hsl(39 14% 29%)oklch(42.3% 0.023 83.0)8.00 AAA
選取文字selectionText#f8fafergb(248 250 254)hsl(220 75% 98%)oklch(98.5% 0.006 264.5)1.00 低於 AA
黑color0#f8fafergb(248 250 254)hsl(220 75% 98%)oklch(98.5% 0.006 264.5)1.00 低於 AA
紅color1#1faa9ergb(31 170 158)hsl(175 69% 39%)oklch(66.7% 0.111 185.7)2.75 低於 AA
綠color2#733d9argb(115 61 154)hsl(275 43% 42%)oklch(47.1% 0.150 308.5)7.02 AAA
黃color3#2e70adrgb(46 112 173)hsl(209 58% 43%)oklch(53.3% 0.117 249.5)4.98 AA
藍color4#b55a0frgb(181 90 15)hsl(27 85% 38%)oklch(56.8% 0.141 52.0)4.53 AA
洋紅color5#3e9d21rgb(62 157 33)hsl(106 65% 37%)oklch(61.6% 0.180 139.7)3.32 AA 大字級
青color6#bd4c3drgb(189 76 61)hsl(7 51% 49%)oklch(56.4% 0.149 30.0)4.71 AA
白color7#544d40rgb(84 77 64)hsl(39 14% 29%)oklch(42.3% 0.023 83.0)8.00 AAA
亮黑color8#b0a999rgb(176 169 153)hsl(42 13% 65%)oklch(73.6% 0.024 87.2)2.24 低於 AA
亮紅color9#009e91rgb(0 158 145)hsl(175 100% 31%)oklch(62.9% 0.111 184.6)3.19 AA 大字級
亮綠color10#5a1f8argb(90 31 138)hsl(273 63% 33%)oklch(38.9% 0.166 304.7)10.06 AAA
亮黃color11#0f5ba2rgb(15 91 162)hsl(209 83% 35%)oklch(46.8% 0.133 252.4)6.61 AA
亮藍color12#b23b00rgb(178 59 0)hsl(20 100% 35%)oklch(51.9% 0.164 39.6)5.71 AA
亮洋紅color13#218c00rgb(33 140 0)hsl(106 100% 27%)oklch(55.9% 0.183 140.8)4.17 AA 大字級
亮青color14#b32e1frgb(179 46 31)hsl(6 70% 41%)oklch(50.8% 0.172 30.3)6.04 AA
亮白color15#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)20.10 AAA

關於 X Helsinki

X Helsinki 採用中性色調的淺色背景(#f8fafe),預設前景色為 #544d40。內文的 WCAG 對比度為 8.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.26:1,最低 2.75:1。

色票整體色彩彩度適中,其中紅色為 #1faa9e、綠色為 #733d9a、藍色為 #b55a0f、洋紅為 #3e9d21。

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

此色票在上游儲存庫中也曾以 Helsinki 的名稱發布

與 X Helsinki 相似的配色

資料來源:iTerm2 Color Schemes (MIT)