跳到主要內容

Rouge 2

Rouge 2 是一套深色終端機配色(柔和、低彩度),背景色 #17182b,文字色 #a2a3aa,對比度 7.0:1

取得設定檔
背景色
#17182b
前景色
#a2a3aa
文字對比度
6.95:1AA
強調色對比度
7.70:1最低 2.22
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
❯

Rouge 2 的設定檔

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

Rouge 2

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

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

palette = 0=#5d5d6b
palette = 1=#c6797e
palette = 2=#969e92
palette = 3=#dbcdab
palette = 4=#6e94b9
palette = 5=#4c4e78
palette = 6=#8ab6c1
palette = 7=#e8e8ea
palette = 8=#616274
palette = 9=#c6797e
palette = 10=#e6dcc4
palette = 11=#e6dcc4
palette = 12=#98b3cd
palette = 13=#8283a1
palette = 14=#abcbd3
palette = 15=#e8e8ea
background = #17182b
foreground = #a2a3aa
cursor-color = #969e92
cursor-text = #ffffff
selection-background = #5d5d6b
selection-foreground = #dfe5ee

Rouge 2 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#17182brgb(23 24 43)hsl(237 30% 13%)oklch(21.8% 0.037 280.5)—
前景色foreground#a2a3aargb(162 163 170)hsl(233 4% 65%)oklch(71.7% 0.010 279.6)6.95 AA
游標cursor#969e92rgb(150 158 146)hsl(100 6% 60%)oklch(68.9% 0.020 135.0)6.33 AA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.47 AAA
選取範圍selection#5d5d6brgb(93 93 107)hsl(240 7% 39%)oklch(48.3% 0.022 285.5)2.70 低於 AA
選取文字selectionText#dfe5eergb(223 229 238)hsl(216 31% 90%)oklch(92.0% 0.014 258.3)13.79 AAA
黑color0#5d5d6brgb(93 93 107)hsl(240 7% 39%)oklch(48.3% 0.022 285.5)2.70 低於 AA
紅color1#c6797ergb(198 121 126)hsl(356 40% 63%)oklch(66.0% 0.097 15.8)5.36 AA
綠color2#969e92rgb(150 158 146)hsl(100 6% 60%)oklch(68.9% 0.020 135.0)6.33 AA
黃color3#dbcdabrgb(219 205 171)hsl(43 40% 76%)oklch(85.1% 0.048 88.3)11.09 AAA
藍color4#6e94b9rgb(110 148 185)hsl(210 35% 58%)oklch(65.3% 0.070 248.3)5.49 AA
洋紅color5#4c4e78rgb(76 78 120)hsl(237 22% 38%)oklch(44.1% 0.069 281.1)2.22 低於 AA
青color6#8ab6c1rgb(138 182 193)hsl(192 31% 65%)oklch(74.8% 0.049 214.8)7.94 AAA
白color7#e8e8eargb(232 232 234)hsl(240 5% 91%)oklch(93.2% 0.003 286.3)14.28 AAA
亮黑color8#616274rgb(97 98 116)hsl(237 9% 42%)oklch(50.2% 0.028 282.8)2.92 低於 AA
亮紅color9#c6797ergb(198 121 126)hsl(356 40% 63%)oklch(66.0% 0.097 15.8)5.36 AA
亮綠color10#e6dcc4rgb(230 220 196)hsl(42 40% 84%)oklch(89.6% 0.034 88.1)12.81 AAA
亮黃color11#e6dcc4rgb(230 220 196)hsl(42 40% 84%)oklch(89.6% 0.034 88.1)12.81 AAA
亮藍color12#98b3cdrgb(152 179 205)hsl(209 35% 70%)oklch(75.5% 0.048 247.5)8.04 AAA
亮洋紅color13#8283a1rgb(130 131 161)hsl(238 14% 57%)oklch(62.0% 0.045 283.5)4.75 AA
亮青color14#abcbd3rgb(171 203 211)hsl(192 31% 75%)oklch(82.1% 0.036 214.5)10.16 AAA
亮白color15#e8e8eargb(232 232 234)hsl(240 5% 91%)oklch(93.2% 0.003 286.3)14.28 AAA

關於 Rouge 2

Rouge 2 採用冷色調的深色背景(#17182b),預設前景色為 #a2a3aa。內文的 WCAG 對比度為 6.95:1(AA),12 種 ANSI 彩色槽位平均對比度 7.70:1,最低 2.22:1。

色票整體色彩彩度偏低,其中紅色為 #c6797e、綠色為 #969e92、藍色為 #6e94b9、洋紅為 #4c4e78。

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

與 Rouge 2 相似的配色

資料來源:iTerm2 Color Schemes (MIT)