跳到主要內容

Rose Pine

Rose Pine 是一套深色終端機配色(冷色),背景色 #191724,文字色 #e0def4,對比度 13.4:1

取得設定檔
背景色
#191724
前景色
#e0def4
文字對比度
13.39:1AAA
強調色對比度
8.25:1最低 3.38
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
❯

Rose Pine 的設定檔

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

Rose Pine

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

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

palette = 0=#26233a
palette = 1=#eb6f92
palette = 2=#31748f
palette = 3=#f6c177
palette = 4=#9ccfd8
palette = 5=#c4a7e7
palette = 6=#ebbcba
palette = 7=#e0def4
palette = 8=#6e6a86
palette = 9=#eb6f92
palette = 10=#31748f
palette = 11=#f6c177
palette = 12=#9ccfd8
palette = 13=#c4a7e7
palette = 14=#ebbcba
palette = 15=#e0def4
background = #191724
foreground = #e0def4
cursor-color = #e0def4
cursor-text = #191724
selection-background = #403d52
selection-foreground = #e0def4

Rose Pine 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#191724rgb(25 23 36)hsl(249 22% 12%)oklch(21.3% 0.025 291.1)—
前景色foreground#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)13.39 AAA
光標cursor#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)13.39 AAA
光標文字cursorText#191724rgb(25 23 36)hsl(249 22% 12%)oklch(21.3% 0.025 291.1)1.00 低於 AA
選取範圍selection#403d52rgb(64 61 82)hsl(249 15% 28%)oklch(37.2% 0.036 291.1)1.69 低於 AA
選取文字selectionText#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)13.39 AAA
黑color0#26233argb(38 35 58)hsl(248 25% 18%)oklch(27.1% 0.042 289.2)1.16 低於 AA
紅color1#eb6f92rgb(235 111 146)hsl(343 76% 68%)oklch(69.8% 0.156 4.2)6.07 AA
綠color2#31748frgb(49 116 143)hsl(197 49% 38%)oklch(52.8% 0.079 227.7)3.38 AA 大字體
黃color3#f6c177rgb(246 193 119)hsl(35 88% 72%)oklch(84.3% 0.110 74.6)10.77 AAA
藍color4#9ccfd8rgb(156 207 216)hsl(189 43% 73%)oklch(82.2% 0.054 209.6)10.37 AAA
洋紅color5#c4a7e7rgb(196 167 231)hsl(267 57% 78%)oklch(77.6% 0.095 305.0)8.43 AAA
青color6#ebbcbargb(235 188 186)hsl(2 55% 83%)oklch(83.6% 0.054 21.1)10.45 AAA
白color7#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)13.39 AAA
亮黑color8#6e6a86rgb(110 106 134)hsl(249 12% 47%)oklch(53.8% 0.044 291.4)3.42 AA 大字體
亮紅color9#eb6f92rgb(235 111 146)hsl(343 76% 68%)oklch(69.8% 0.156 4.2)6.07 AA
亮綠color10#31748frgb(49 116 143)hsl(197 49% 38%)oklch(52.8% 0.079 227.7)3.38 AA 大字體
亮黃color11#f6c177rgb(246 193 119)hsl(35 88% 72%)oklch(84.3% 0.110 74.6)10.77 AAA
亮藍color12#9ccfd8rgb(156 207 216)hsl(189 43% 73%)oklch(82.2% 0.054 209.6)10.37 AAA
亮洋紅color13#c4a7e7rgb(196 167 231)hsl(267 57% 78%)oklch(77.6% 0.095 305.0)8.43 AAA
亮青color14#ebbcbargb(235 188 186)hsl(2 55% 83%)oklch(83.6% 0.054 21.1)10.45 AAA
亮白color15#e0def4rgb(224 222 244)hsl(245 50% 91%)oklch(90.9% 0.030 290.0)13.39 AAA

關於 Rose Pine

Rose Pine 採用冷色調的深色背景(#191724),預設前景色為 #e0def4。正文的 WCAG 對比度為 13.39:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.25:1,最低 3.38:1。

色板整體色彩飽和度適中,其中紅色為 #eb6f92、綠色為 #31748f、藍色為 #9ccfd8、洋紅為 #c4a7e7。該配色歸屬 Rosé Pine 主題系列。

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

該色板在上游儲存庫中亦曾以 Rosé Pine 的名稱發佈

與 Rose Pine 相似的配色

資料來源:iTerm2 Color Schemes (MIT)