跳到主要內容

Rigel

Rigel 是一套深色終端機配色(冷色),背景色 #002635,文字色 #e6e6dc,對比度 12.6:1

取得設定檔
背景色
#002635
前景色
#e6e6dc
文字對比度
12.58:1AAA
強調色對比度
7.54:1最低 2.97
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
❯

Rigel 的設定檔

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

Rigel

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

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

palette = 0=#00384d
palette = 1=#c43061
palette = 2=#7fc06e
palette = 3=#f08e48
palette = 4=#1c8db2
palette = 5=#c694ff
palette = 6=#00cccc
palette = 7=#77929e
palette = 8=#517f8d
palette = 9=#ff5a67
palette = 10=#9cf087
palette = 11=#ffcc1b
palette = 12=#7eb2dd
palette = 13=#fb94ff
palette = 14=#00ffff
palette = 15=#b7cff9
background = #002635
foreground = #e6e6dc
cursor-color = #e6e6dc
cursor-text = #002635
selection-background = #37515c
selection-foreground = #e6e6dc

Rigel 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#002635rgb(0 38 53)hsl(197 100% 10%)oklch(25.1% 0.050 229.5)—
前景色foreground#e6e6dcrgb(230 230 220)hsl(60 17% 88%)oklch(92.2% 0.013 106.7)12.58 AAA
游標cursor#e6e6dcrgb(230 230 220)hsl(60 17% 88%)oklch(92.2% 0.013 106.7)12.58 AAA
游標文字cursorText#002635rgb(0 38 53)hsl(197 100% 10%)oklch(25.1% 0.050 229.5)1.00 低於 AA
選取範圍selection#37515crgb(55 81 92)hsl(198 25% 29%)oklch(41.9% 0.036 226.2)1.88 低於 AA
選取文字selectionText#e6e6dcrgb(230 230 220)hsl(60 17% 88%)oklch(92.2% 0.013 106.7)12.58 AAA
黑color0#00384drgb(0 56 77)hsl(196 100% 15%)oklch(31.9% 0.064 230.6)1.26 低於 AA
紅color1#c43061rgb(196 48 97)hsl(340 61% 48%)oklch(55.2% 0.186 6.2)2.97 低於 AA
綠color2#7fc06ergb(127 192 110)hsl(108 39% 59%)oklch(74.4% 0.131 139.3)7.28 AAA
黃color3#f08e48rgb(240 142 72)hsl(25 85% 61%)oklch(73.8% 0.146 53.7)6.52 AA
藍color4#1c8db2rgb(28 141 178)hsl(195 73% 40%)oklch(60.1% 0.108 226.3)4.14 AA 大字級
洋紅color5#c694ffrgb(198 148 255)hsl(268 100% 79%)oklch(75.5% 0.157 304.5)6.83 AA
青color6#00ccccrgb(0 204 204)hsl(180 100% 40%)oklch(76.5% 0.131 194.8)7.91 AAA
白color7#77929ergb(119 146 158)hsl(198 17% 54%)oklch(64.3% 0.035 226.7)4.81 AA
亮黑color8#517f8drgb(81 127 141)hsl(194 27% 44%)oklch(56.9% 0.055 219.1)3.59 AA 大字級
亮紅color9#ff5a67rgb(255 90 103)hsl(355 100% 68%)oklch(69.1% 0.200 19.6)5.20 AA
亮綠color10#9cf087rgb(156 240 135)hsl(108 78% 74%)oklch(87.7% 0.161 139.5)11.46 AAA
亮黃color11#ffcc1brgb(255 204 27)hsl(47 100% 55%)oklch(86.6% 0.173 89.8)10.47 AAA
亮藍color12#7eb2ddrgb(126 178 221)hsl(207 58% 68%)oklch(74.3% 0.083 244.2)7.00 AA
亮洋紅color13#fb94ffrgb(251 148 255)hsl(298 100% 79%)oklch(81.0% 0.180 325.7)8.11 AAA
亮青color14#00ffffrgb(0 255 255)hsl(180 100% 50%)oklch(90.5% 0.155 194.8)12.61 AAA
亮白color15#b7cff9rgb(183 207 249)hsl(218 85% 85%)oklch(85.1% 0.064 261.6)10.02 AAA

關於 Rigel

Rigel 採用冷色調的深色背景(#002635),預設前景色為 #e6e6dc。內文的 WCAG 對比度為 12.58:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.54:1,最低 2.97:1。

色票整體色彩彩度適中,其中紅色為 #c43061、綠色為 #7fc06e、藍色為 #1c8db2、洋紅為 #c694ff。

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

與 Rigel 相似的配色

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