跳到主要內容

Darkmoss

Darkmoss 是一套深色終端機配色,背景色 #171e1f,文字色 #c7c7a5,對比度 9.8:1

取得設定檔
背景色
#171e1f
前景色
#c7c7a5
文字對比度
9.78:1AAA
強調色對比度
6.94:1最低 3.85
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
❯

Darkmoss 的設定檔

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

Darkmoss

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

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

palette = 0=#171e1f
palette = 1=#ff4658
palette = 2=#499180
palette = 3=#fdb11f
palette = 4=#498091
palette = 5=#9bc0c8
palette = 6=#66d9ef
palette = 7=#c7c7a5
palette = 8=#555e5f
palette = 9=#ff4658
palette = 10=#499180
palette = 11=#fdb11f
palette = 12=#498091
palette = 13=#9bc0c8
palette = 14=#66d9ef
palette = 15=#e1eaef
background = #171e1f
foreground = #c7c7a5
cursor-color = #c7c7a5
cursor-text = #171e1f
selection-background = #3d433d
selection-foreground = #c7c7a5

Darkmoss 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#171e1frgb(23 30 31)hsl(188 15% 11%)oklch(22.8% 0.010 207.0)—
前景色foreground#c7c7a5rgb(199 199 165)hsl(60 23% 71%)oklch(82.1% 0.046 107.4)9.78 AAA
游標cursor#c7c7a5rgb(199 199 165)hsl(60 23% 71%)oklch(82.1% 0.046 107.4)9.78 AAA
游標文字cursorText#171e1frgb(23 30 31)hsl(188 15% 11%)oklch(22.8% 0.010 207.0)1.00 低於 AA
選取範圍selection#3d433drgb(61 67 61)hsl(120 5% 25%)oklch(37.5% 0.013 145.3)1.67 低於 AA
選取文字selectionText#c7c7a5rgb(199 199 165)hsl(60 23% 71%)oklch(82.1% 0.046 107.4)9.78 AAA
黑color0#171e1frgb(23 30 31)hsl(188 15% 11%)oklch(22.8% 0.010 207.0)1.00 低於 AA
紅color1#ff4658rgb(255 70 88)hsl(354 100% 64%)oklch(66.8% 0.220 20.4)5.05 AA
綠color2#499180rgb(73 145 128)hsl(166 33% 43%)oklch(60.5% 0.078 176.2)4.55 AA
黃color3#fdb11frgb(253 177 31)hsl(39 98% 56%)oklch(81.3% 0.164 76.4)9.25 AAA
藍color4#498091rgb(73 128 145)hsl(194 33% 43%)oklch(56.9% 0.064 219.9)3.85 AA 大字級
洋紅color5#9bc0c8rgb(155 192 200)hsl(191 29% 70%)oklch(78.3% 0.041 212.3)8.67 AAA
青color6#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)10.26 AAA
白color7#c7c7a5rgb(199 199 165)hsl(60 23% 71%)oklch(82.1% 0.046 107.4)9.78 AAA
亮黑color8#555e5frgb(85 94 95)hsl(186 6% 35%)oklch(47.4% 0.011 204.8)2.54 低於 AA
亮紅color9#ff4658rgb(255 70 88)hsl(354 100% 64%)oklch(66.8% 0.220 20.4)5.05 AA
亮綠color10#499180rgb(73 145 128)hsl(166 33% 43%)oklch(60.5% 0.078 176.2)4.55 AA
亮黃color11#fdb11frgb(253 177 31)hsl(39 98% 56%)oklch(81.3% 0.164 76.4)9.25 AAA
亮藍color12#498091rgb(73 128 145)hsl(194 33% 43%)oklch(56.9% 0.064 219.9)3.85 AA 大字級
亮洋紅color13#9bc0c8rgb(155 192 200)hsl(191 29% 70%)oklch(78.3% 0.041 212.3)8.67 AAA
亮青color14#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)10.26 AAA
亮白color15#e1eaefrgb(225 234 239)hsl(201 30% 91%)oklch(93.2% 0.012 231.7)13.86 AAA

關於 Darkmoss

Darkmoss 採用中性色調的深色背景(#171e1f),預設前景色為 #c7c7a5。內文的 WCAG 對比度為 9.78:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.94:1,最低 3.85:1。

色票整體色彩彩度適中,其中紅色為 #ff4658、綠色為 #499180、藍色為 #498091、洋紅為 #9bc0c8。

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

與 Darkmoss 相似的配色

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