跳到主要內容

Simple Rainbow

Simple Rainbow 是一套深色終端機配色(柔和、粉彩),背景色 #575757,文字色 #dcdccc,對比度 5.2:1

取得設定檔
背景色
#575757
前景色
#dcdccc
文字對比度
5.21:1AA
強調色對比度
4.05:1最低 3.00
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
❯

Simple Rainbow 的設定檔

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

Simple Rainbow

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

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

palette = 0=#666666
palette = 1=#ff8278
palette = 2=#bde077
palette = 3=#eadc84
palette = 4=#77bee0
palette = 5=#dd91f3
palette = 6=#ffc178
palette = 7=#dddddd
palette = 8=#888888
palette = 9=#ff8278
palette = 10=#bde077
palette = 11=#eadc84
palette = 12=#77bee0
palette = 13=#dd91f3
palette = 14=#ffc178
palette = 15=#cccccc
background = #575757
foreground = #dcdccc
cursor-color = #dcdccc
cursor-text = #575757
selection-background = #767673
selection-foreground = #dcdccc

Simple Rainbow 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#575757rgb(87 87 87)hsl(0 0% 34%)oklch(45.7% 0.000 0)—
前景色foreground#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)5.21 AA
游標cursor#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)5.21 AA
游標文字cursorText#575757rgb(87 87 87)hsl(0 0% 34%)oklch(45.7% 0.000 0)1.00 低於 AA
選取範圍selection#767673rgb(118 118 115)hsl(60 1% 46%)oklch(56.5% 0.005 106.5)1.59 低於 AA
選取文字selectionText#dcdcccrgb(220 220 204)hsl(60 19% 83%)oklch(89.0% 0.021 106.8)5.21 AA
黑color0#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)1.26 低於 AA
紅color1#ff8278rgb(255 130 120)hsl(4 100% 74%)oklch(74.6% 0.154 26.1)3.00 低於 AA
綠color2#bde077rgb(189 224 119)hsl(80 63% 67%)oklch(85.9% 0.138 124.4)4.85 AA
黃color3#eadc84rgb(234 220 132)hsl(52 71% 72%)oklch(88.7% 0.110 100.4)5.19 AA
藍color4#77bee0rgb(119 190 224)hsl(199 63% 67%)oklch(76.7% 0.086 230.1)3.52 AA 大字級
洋紅color5#dd91f3rgb(221 145 243)hsl(287 80% 76%)oklch(76.8% 0.157 318.4)3.24 AA 大字級
青color6#ffc178rgb(255 193 120)hsl(32 100% 74%)oklch(85.2% 0.115 69.8)4.53 AA
白color7#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)5.32 AA
亮黑color8#888888rgb(136 136 136)hsl(0 0% 53%)oklch(62.7% 0.000 0)2.04 低於 AA
亮紅color9#ff8278rgb(255 130 120)hsl(4 100% 74%)oklch(74.6% 0.154 26.1)3.00 低於 AA
亮綠color10#bde077rgb(189 224 119)hsl(80 63% 67%)oklch(85.9% 0.138 124.4)4.85 AA
亮黃color11#eadc84rgb(234 220 132)hsl(52 71% 72%)oklch(88.7% 0.110 100.4)5.19 AA
亮藍color12#77bee0rgb(119 190 224)hsl(199 63% 67%)oklch(76.7% 0.086 230.1)3.52 AA 大字級
亮洋紅color13#dd91f3rgb(221 145 243)hsl(287 80% 76%)oklch(76.8% 0.157 318.4)3.24 AA 大字級
亮青color14#ffc178rgb(255 193 120)hsl(32 100% 74%)oklch(85.2% 0.115 69.8)4.53 AA
亮白color15#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)4.50 AA 大字級

關於 Simple Rainbow

Simple Rainbow 採用中性色調的深色背景(#575757),預設前景色為 #dcdccc。內文的 WCAG 對比度為 5.21:1(AA),12 種 ANSI 彩色槽位平均對比度 4.05:1,最低 3.00:1。

色票整體色彩彩度適中,其中紅色為 #ff8278、綠色為 #bde077、藍色為 #77bee0、洋紅為 #dd91f3。

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

與 Simple Rainbow 相似的配色

資料來源:terminal.sexy (MIT)