跳到主要內容

Omni

Omni 是一套深色終端機配色(冷色),背景色 #191622,文字色 #abb2bf,對比度 8.3:1

取得設定檔
背景色
#191622
前景色
#abb2bf
文字對比度
8.35:1AAA
強調色對比度
8.01:1最低 5.53
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
❯

Omni 的設定檔

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

Omni

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

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

palette = 0=#191622
palette = 1=#e96379
palette = 2=#67e480
palette = 3=#e89e64
palette = 4=#78d1e1
palette = 5=#988bc7
palette = 6=#ff79c6
palette = 7=#abb2bf
palette = 8=#000000
palette = 9=#e96379
palette = 10=#67e480
palette = 11=#e89e64
palette = 12=#78d1e1
palette = 13=#988bc7
palette = 14=#ff79c6
palette = 15=#ffffff
background = #191622
foreground = #abb2bf
cursor-color = #abb2bf
cursor-text = #191622
selection-background = #393845
selection-foreground = #abb2bf

Omni 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#191622rgb(25 22 34)hsl(255 21% 11%)oklch(21.0% 0.024 295.7)—
前景色foreground#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)8.35 AAA
光標cursor#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)8.35 AAA
光標文字cursorText#191622rgb(25 22 34)hsl(255 21% 11%)oklch(21.0% 0.024 295.7)1.00 低於 AA
選取範圍selection#393845rgb(57 56 69)hsl(245 10% 25%)oklch(34.7% 0.023 288.7)1.55 低於 AA
選取文字selectionText#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)8.35 AAA
黑color0#191622rgb(25 22 34)hsl(255 21% 11%)oklch(21.0% 0.024 295.7)1.00 低於 AA
紅color1#e96379rgb(233 99 121)hsl(350 75% 65%)oklch(67.2% 0.166 12.7)5.53 AA
綠color2#67e480rgb(103 228 128)hsl(132 70% 65%)oklch(82.4% 0.178 148.0)11.01 AAA
黃color3#e89e64rgb(232 158 100)hsl(26 74% 65%)oklch(76.0% 0.115 58.0)8.06 AAA
藍color4#78d1e1rgb(120 209 225)hsl(189 64% 68%)oklch(81.1% 0.088 210.4)10.18 AAA
洋紅color5#988bc7rgb(152 139 199)hsl(253 35% 66%)oklch(67.1% 0.089 293.8)5.81 AA
青color6#ff79c6rgb(255 121 198)hsl(326 100% 74%)oklch(75.5% 0.183 346.8)7.46 AAA
白color7#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)8.35 AAA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.18 低於 AA
亮紅color9#e96379rgb(233 99 121)hsl(350 75% 65%)oklch(67.2% 0.166 12.7)5.53 AA
亮綠color10#67e480rgb(103 228 128)hsl(132 70% 65%)oklch(82.4% 0.178 148.0)11.01 AAA
亮黃color11#e89e64rgb(232 158 100)hsl(26 74% 65%)oklch(76.0% 0.115 58.0)8.06 AAA
亮藍color12#78d1e1rgb(120 209 225)hsl(189 64% 68%)oklch(81.1% 0.088 210.4)10.18 AAA
亮洋紅color13#988bc7rgb(152 139 199)hsl(253 35% 66%)oklch(67.1% 0.089 293.8)5.81 AA
亮青color14#ff79c6rgb(255 121 198)hsl(326 100% 74%)oklch(75.5% 0.183 346.8)7.46 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.81 AAA

關於 Omni

Omni 採用冷色調的深色背景(#191622),預設前景色為 #abb2bf。正文的 WCAG 對比度為 8.35:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.01:1,最低 5.53:1。

色板整體色彩飽和度適中,其中紅色為 #e96379、綠色為 #67e480、藍色為 #78d1e1、洋紅為 #988bc7。

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

與 Omni 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)