跳到主要內容

Ollie

Ollie 是一套深色終端機配色(柔和),背景色 #222125,文字色 #8a8dae,對比度 5.0:1

取得設定檔
背景色
#222125
前景色
#8a8dae
文字對比度
4.95:1AA
強調色對比度
6.01:1最低 2.34
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
❯

Ollie 的設定檔

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

Ollie

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

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

palette = 0=#000000
palette = 1=#ac2e31
palette = 2=#31ac61
palette = 3=#ac4300
palette = 4=#2d57ac
palette = 5=#b08528
palette = 6=#1fa6ac
palette = 7=#8a8eac
palette = 8=#5b3725
palette = 9=#ff3d48
palette = 10=#3bff99
palette = 11=#ff5e1e
palette = 12=#4488ff
palette = 13=#ffc21d
palette = 14=#1ffaff
palette = 15=#5b6ea7
background = #222125
foreground = #8a8dae
cursor-color = #5b6ea7
cursor-text = #2a292d
selection-background = #1e3a66
selection-foreground = #8a8eac

Ollie 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#222125rgb(34 33 37)hsl(255 6% 14%)oklch(25.0% 0.008 297.3)—
前景色foreground#8a8daergb(138 141 174)hsl(235 18% 61%)oklch(65.3% 0.049 280.9)4.95 AA
光標cursor#5b6ea7rgb(91 110 167)hsl(225 30% 51%)oklch(54.8% 0.092 269.2)3.23 AA 大字體
光標文字cursorText#2a292drgb(42 41 45)hsl(255 5% 17%)oklch(28.4% 0.007 297.4)1.11 低於 AA
選取範圍selection#1e3a66rgb(30 58 102)hsl(217 55% 26%)oklch(35.1% 0.084 259.1)1.41 低於 AA
選取文字selectionText#8a8eacrgb(138 142 172)hsl(233 17% 61%)oklch(65.4% 0.045 279.1)4.99 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.31 低於 AA
紅color1#ac2e31rgb(172 46 49)hsl(359 58% 43%)oklch(49.8% 0.162 24.2)2.43 低於 AA
綠color2#31ac61rgb(49 172 97)hsl(143 56% 43%)oklch(66.0% 0.154 152.1)5.49 AA
黃color3#ac4300rgb(172 67 0)hsl(23 100% 34%)oklch(51.9% 0.151 43.9)2.71 低於 AA
藍color4#2d57acrgb(45 87 172)hsl(220 59% 43%)oklch(47.5% 0.144 262.5)2.34 低於 AA
洋紅color5#b08528rgb(176 133 40)hsl(41 63% 42%)oklch(64.2% 0.118 82.4)4.75 AA
青color6#1fa6acrgb(31 166 172)hsl(183 69% 40%)oklch(66.2% 0.107 199.7)5.42 AA
白color7#8a8eacrgb(138 142 172)hsl(233 17% 61%)oklch(65.4% 0.045 279.1)4.99 AA
亮黑color8#5b3725rgb(91 55 37)hsl(20 42% 25%)oklch(37.6% 0.059 47.0)1.54 低於 AA
亮紅color9#ff3d48rgb(255 61 72)hsl(357 100% 62%)oklch(65.8% 0.228 23.5)4.58 AA
亮綠color10#3bff99rgb(59 255 153)hsl(149 100% 62%)oklch(88.4% 0.206 154.5)12.15 AAA
亮黃color11#ff5e1ergb(255 94 30)hsl(17 100% 56%)oklch(68.7% 0.208 38.9)5.24 AA
亮藍color12#4488ffrgb(68 136 255)hsl(218 100% 63%)oklch(64.5% 0.190 260.7)4.73 AA
亮洋紅color13#ffc21drgb(255 194 29)hsl(44 100% 56%)oklch(84.7% 0.169 84.8)9.90 AAA
亮青color14#1ffaffrgb(31 250 255)hsl(181 100% 56%)oklch(89.5% 0.149 197.5)12.33 AAA
亮白color15#5b6ea7rgb(91 110 167)hsl(225 30% 51%)oklch(54.8% 0.092 269.2)3.23 AA 大字體

關於 Ollie

Ollie 採用中性色調的深色背景(#222125),預設前景色為 #8a8dae。正文的 WCAG 對比度為 4.95:1(AA),12 種 ANSI 彩色槽位平均對比度 6.01:1,最低 2.34:1。

色板整體色彩飽和度適中,其中紅色為 #ac2e31、綠色為 #31ac61、藍色為 #2d57ac、洋紅為 #b08528。

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

與 Ollie 相似的配色

資料來源:iTerm2 Color Schemes (MIT)