跳到主要內容

Iris

Iris 是一套深色終端機配色(冷色),背景色 #272537,文字色 #e8e6e9,對比度 12.0:1

取得設定檔
背景色
#272537
前景色
#e8e6e9
文字對比度
12.04:1AAA
強調色對比度
4.62:1最低 2.60
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
❯

Iris 的設定檔

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

Iris

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

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

palette = 0=#111133
palette = 1=#d61d52
palette = 2=#48a842
palette = 3=#e1a51c
palette = 4=#5556d3
palette = 5=#8650d3
palette = 6=#52afb7
palette = 7=#9f9aa7
palette = 8=#484867
palette = 9=#e15877
palette = 10=#71ab3a
palette = 11=#c6a642
palette = 12=#6d6dc9
palette = 13=#956ad3
palette = 14=#6ab6bd
palette = 15=#e8e6e9
background = #272537
foreground = #e8e6e9
cursor-color = #e8e6e9
cursor-text = #272537
selection-background = #515060
selection-foreground = #e8e6e9

Iris 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#272537rgb(39 37 55)hsl(247 20% 18%)oklch(27.5% 0.033 289.1)—
前景色foreground#e8e6e9rgb(232 230 233)hsl(280 6% 91%)oklch(92.7% 0.005 314.8)12.04 AAA
光標cursor#e8e6e9rgb(232 230 233)hsl(280 6% 91%)oklch(92.7% 0.005 314.8)12.04 AAA
光標文字cursorText#272537rgb(39 37 55)hsl(247 20% 18%)oklch(27.5% 0.033 289.1)1.00 低於 AA
選取範圍selection#515060rgb(81 80 96)hsl(244 9% 35%)oklch(43.8% 0.026 288.1)1.90 低於 AA
選取文字selectionText#e8e6e9rgb(232 230 233)hsl(280 6% 91%)oklch(92.7% 0.005 314.8)12.04 AAA
黑color0#111133rgb(17 17 51)hsl(240 50% 13%)oklch(20.1% 0.065 278.8)1.22 低於 AA
紅color1#d61d52rgb(214 29 82)hsl(343 76% 48%)oklch(56.8% 0.213 12.9)2.96 低於 AA
綠color2#48a842rgb(72 168 66)hsl(116 44% 46%)oklch(65.1% 0.167 142.4)4.95 AA
黃color3#e1a51crgb(225 165 28)hsl(42 78% 50%)oklch(75.9% 0.151 81.1)6.83 AA
藍color4#5556d3rgb(85 86 211)hsl(240 59% 58%)oklch(52.5% 0.188 277.4)2.60 低於 AA
洋紅color5#8650d3rgb(134 80 211)hsl(265 60% 57%)oklch(55.9% 0.193 299.0)2.92 低於 AA
青color6#52afb7rgb(82 175 183)hsl(185 41% 52%)oklch(70.1% 0.088 202.9)5.81 AA
白color7#9f9aa7rgb(159 154 167)hsl(263 7% 63%)oklch(69.5% 0.020 303.3)5.44 AA
亮黑color8#484867rgb(72 72 103)hsl(240 18% 34%)oklch(41.5% 0.051 283.9)1.71 低於 AA
亮紅color9#e15877rgb(225 88 119)hsl(346 70% 61%)oklch(64.6% 0.172 9.4)4.17 AA 大字體
亮綠color10#71ab3argb(113 171 58)hsl(91 49% 45%)oklch(67.8% 0.156 132.5)5.40 AA
亮黃color11#c6a642rgb(198 166 66)hsl(45 54% 52%)oklch(73.5% 0.123 91.2)6.35 AA
亮藍color12#6d6dc9rgb(109 109 201)hsl(240 46% 61%)oklch(57.8% 0.139 281.2)3.33 AA 大字體
亮洋紅color13#956ad3rgb(149 106 211)hsl(265 54% 62%)oklch(61.4% 0.157 300.8)3.76 AA 大字體
亮青color14#6ab6bdrgb(106 182 189)hsl(185 39% 58%)oklch(73.0% 0.076 203.3)6.43 AA
亮白color15#e8e6e9rgb(232 230 233)hsl(280 6% 91%)oklch(92.7% 0.005 314.8)12.04 AAA

關於 Iris

Iris 採用冷色調的深色背景(#272537),預設前景色為 #e8e6e9。正文的 WCAG 對比度為 12.04:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.62:1,最低 2.60:1。

色板整體色彩飽和度適中,其中紅色為 #d61d52、綠色為 #48a842、藍色為 #5556d3、洋紅為 #8650d3。

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

與 Iris 相似的配色

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