跳到主要內容

Dirtysea

Dirtysea 是一套淺色終端機配色,背景色 #e0e0e0,文字色 #000000,對比度 15.9:1

取得設定檔
背景色
#e0e0e0
前景色
#000000
文字對比度
15.91:1AAA
強調色對比度
6.97:1最低 4.61
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
❯

Dirtysea 的設定檔

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

Dirtysea

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

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

palette = 0=#e0e0e0
palette = 1=#840000
palette = 2=#730073
palette = 3=#755b00
palette = 4=#007300
palette = 5=#000090
palette = 6=#755b00
palette = 7=#000000
palette = 8=#707070
palette = 9=#840000
palette = 10=#730073
palette = 11=#755b00
palette = 12=#007300
palette = 13=#000090
palette = 14=#755b00
palette = 15=#c4d9c4
background = #e0e0e0
foreground = #000000
cursor-color = #000000
cursor-text = #e0e0e0
selection-background = #989898
selection-foreground = #000000

Dirtysea 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)—
前景色foreground#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)15.91 AAA
光標cursor#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)15.91 AAA
光標文字cursorText#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)1.00 低於 AA
選取範圍selection#989898rgb(152 152 152)hsl(0 0% 60%)oklch(68.0% 0.000 0)2.19 低於 AA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)15.91 AAA
黑color0#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)1.00 低於 AA
紅color1#840000rgb(132 0 0)hsl(0 100% 26%)oklch(38.5% 0.158 29.2)8.03 AAA
綠color2#730073rgb(115 0 115)hsl(300 100% 23%)oklch(39.0% 0.179 328.4)8.05 AAA
黃color3#755b00rgb(117 91 0)hsl(47 100% 23%)oklch(48.4% 0.099 89.3)4.89 AA
藍color4#007300rgb(0 115 0)hsl(120 100% 23%)oklch(48.1% 0.164 142.5)4.61 AA
洋紅color5#000090rgb(0 0 144)hsl(240 100% 28%)oklch(29.5% 0.205 264.1)11.34 AAA
青color6#755b00rgb(117 91 0)hsl(47 100% 23%)oklch(48.4% 0.099 89.3)4.89 AA
白color7#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)15.91 AAA
亮黑color8#707070rgb(112 112 112)hsl(0 0% 44%)oklch(54.5% 0.000 0)3.75 AA 大字體
亮紅color9#840000rgb(132 0 0)hsl(0 100% 26%)oklch(38.5% 0.158 29.2)8.03 AAA
亮綠color10#730073rgb(115 0 115)hsl(300 100% 23%)oklch(39.0% 0.179 328.4)8.05 AAA
亮黃color11#755b00rgb(117 91 0)hsl(47 100% 23%)oklch(48.4% 0.099 89.3)4.89 AA
亮藍color12#007300rgb(0 115 0)hsl(120 100% 23%)oklch(48.1% 0.164 142.5)4.61 AA
亮洋紅color13#000090rgb(0 0 144)hsl(240 100% 28%)oklch(29.5% 0.205 264.1)11.34 AAA
亮青color14#755b00rgb(117 91 0)hsl(47 100% 23%)oklch(48.4% 0.099 89.3)4.89 AA
亮白color15#c4d9c4rgb(196 217 196)hsl(120 22% 81%)oklch(86.4% 0.036 145.3)1.13 低於 AA

關於 Dirtysea

Dirtysea 採用中性色調的淺色背景(#e0e0e0),預設前景色為 #000000。正文的 WCAG 對比度為 15.91:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.97:1,最低 4.61:1。

色板整體色彩飽和度適中,其中紅色為 #840000、綠色為 #730073、藍色為 #007300、洋紅為 #000090。

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

與 Dirtysea 相似的配色

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