跳到主要內容

Helsinki

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

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

Helsinki 的設定檔

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

Helsinki

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

更多 Ghostty 配色
原始檔案
# Theme: Helsinki (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/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=#1faa9e
palette = 10=#733d9a
palette = 11=#2e70ad
palette = 12=#b55a0f
palette = 13=#3e9d21
palette = 14=#bd4c3d
palette = 15=#000000
background = #f8fafe
foreground = #544d40
cursor-color = #544d40
cursor-text = #f8fafe
selection-background = #e4e5e7
selection-foreground = #544d40

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#e4e5e7rgb(228 229 231)hsl(220 6% 90%)oklch(92.2% 0.003 264.5)1.21 低於 AA
選取文字selectionText#544d40rgb(84 77 64)hsl(39 14% 29%)oklch(42.3% 0.023 83.0)8.00 AAA
黑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#1faa9ergb(31 170 158)hsl(175 69% 39%)oklch(66.7% 0.111 185.7)2.75 低於 AA
亮綠color10#733d9argb(115 61 154)hsl(275 43% 42%)oklch(47.1% 0.150 308.5)7.02 AAA
亮黃color11#2e70adrgb(46 112 173)hsl(209 58% 43%)oklch(53.3% 0.117 249.5)4.98 AA
亮藍color12#b55a0frgb(181 90 15)hsl(27 85% 38%)oklch(56.8% 0.141 52.0)4.53 AA
亮洋紅color13#3e9d21rgb(62 157 33)hsl(106 65% 37%)oklch(61.6% 0.180 139.7)3.32 AA 大字體
亮青color14#bd4c3drgb(189 76 61)hsl(7 51% 49%)oklch(56.4% 0.149 30.0)4.71 AA
亮白color15#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)20.10 AAA

關於 Helsinki

Helsinki 採用中性色調的淺色背景(#f8fafe),預設前景色為 #544d40。正文的 WCAG 對比度為 8.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.55: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 相似的配色

資料來源:Tinted Theming (Base16 & Base24) (MIT)