跳到主要內容

Red Planet

Red Planet 是一套深色終端機配色,背景色 #222222,文字色 #c2b790,對比度 7.9:1

取得設定檔
背景色
#222222
前景色
#c2b790
文字對比度
7.93:1AAA
強調色對比度
5.11:1最低 2.01
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
❯

Red Planet 的設定檔

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

Red Planet

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

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

palette = 0=#202020
palette = 1=#8c3432
palette = 2=#728271
palette = 3=#e8bf6a
palette = 4=#69819e
palette = 5=#896492
palette = 6=#5b8390
palette = 7=#b9aa99
palette = 8=#676767
palette = 9=#b55242
palette = 10=#869985
palette = 11=#ebeb91
palette = 12=#60827e
palette = 13=#de4974
palette = 14=#38add8
palette = 15=#d6bfb8
background = #222222
foreground = #c2b790
cursor-color = #c2b790
cursor-text = #202020
selection-background = #1b324a
selection-foreground = #bcb291

Red Planet 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)—
前景色foreground#c2b790rgb(194 183 144)hsl(47 29% 66%)oklch(77.9% 0.054 94.2)7.93 AAA
光標cursor#c2b790rgb(194 183 144)hsl(47 29% 66%)oklch(77.9% 0.054 94.2)7.93 AAA
光標文字cursorText#202020rgb(32 32 32)hsl(0 0% 13%)oklch(24.4% 0.000 0)1.02 低於 AA
選取範圍selection#1b324argb(27 50 74)hsl(211 47% 20%)oklch(31.0% 0.052 250.8)1.21 低於 AA
選取文字selectionText#bcb291rgb(188 178 145)hsl(46 24% 65%)oklch(76.3% 0.047 93.2)7.51 AAA
黑color0#202020rgb(32 32 32)hsl(0 0% 13%)oklch(24.4% 0.000 0)1.02 低於 AA
紅color1#8c3432rgb(140 52 50)hsl(1 47% 37%)oklch(45.0% 0.121 24.5)2.01 低於 AA
綠color2#728271rgb(114 130 113)hsl(116 7% 48%)oklch(58.8% 0.032 143.6)3.90 AA 大字體
黃color3#e8bf6argb(232 191 106)hsl(40 73% 66%)oklch(82.3% 0.114 84.1)9.16 AAA
藍color4#69819ergb(105 129 158)hsl(213 21% 52%)oklch(59.5% 0.053 253.4)3.97 AA 大字體
洋紅color5#896492rgb(137 100 146)hsl(288 19% 48%)oklch(55.8% 0.082 319.6)3.26 AA 大字體
青color6#5b8390rgb(91 131 144)hsl(195 23% 46%)oklch(58.5% 0.049 220.1)3.86 AA 大字體
白color7#b9aa99rgb(185 170 153)hsl(32 19% 66%)oklch(74.6% 0.029 70.8)7.03 AAA
亮黑color8#676767rgb(103 103 103)hsl(0 0% 40%)oklch(51.4% 0.000 0)2.81 低於 AA
亮紅color9#b55242rgb(181 82 66)hsl(8 47% 48%)oklch(56.1% 0.132 31.0)3.22 AA 大字體
亮綠color10#869985rgb(134 153 133)hsl(117 9% 56%)oklch(66.2% 0.036 143.8)5.23 AA
亮黃color11#ebeb91rgb(235 235 145)hsl(60 69% 75%)oklch(92.0% 0.112 108.4)12.75 AAA
亮藍color12#60827ergb(96 130 126)hsl(173 15% 44%)oklch(58.0% 0.039 187.2)3.78 AA 大字體
亮洋紅color13#de4974rgb(222 73 116)hsl(343 69% 58%)oklch(62.4% 0.187 6.9)4.02 AA 大字體
亮青color14#38add8rgb(56 173 216)hsl(196 67% 53%)oklch(70.2% 0.119 227.2)6.16 AA
亮白color15#d6bfb8rgb(214 191 184)hsl(14 27% 78%)oklch(82.2% 0.028 37.6)9.09 AAA

關於 Red Planet

Red Planet 採用中性色調的深色背景(#222222),預設前景色為 #c2b790。正文的 WCAG 對比度為 7.93:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.11:1,最低 2.01:1。

色板整體色彩飽和度適中,其中紅色為 #8c3432、綠色為 #728271、藍色為 #69819e、洋紅為 #896492。

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

與 Red Planet 相似的配色

資料來源:iTerm2 Color Schemes (MIT)