跳到主要內容

Clear Dark

Clear Dark 是一套深色終端機配色(冷色),背景色 #212734,文字色 #e6e6e6,對比度 12.0:1

取得設定檔
背景色
#212734
前景色
#e6e6e6
文字對比度
11.98:1AAA
強調色對比度
6.31:1最低 3.11
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
❯

Clear Dark 的設定檔

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

Clear Dark

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

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

palette = 0=#35424c
palette = 1=#b45648
palette = 2=#6caa71
palette = 3=#c4ac62
palette = 4=#6d96b4
palette = 5=#bd7bcd
palette = 6=#7ccbcd
palette = 7=#dee5eb
palette = 8=#465c6d
palette = 9=#df6c5a
palette = 10=#79be7e
palette = 11=#e5c872
palette = 12=#67b5ed
palette = 13=#d389e5
palette = 14=#84dde0
palette = 15=#e5eff5
background = #212734
foreground = #e6e6e6
cursor-color = #9d9d9d
cursor-text = #212734
selection-background = #334e5e
selection-foreground = #6e7380

Clear Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#212734rgb(33 39 52)hsl(221 22% 17%)oklch(27.3% 0.026 265.4)—
前景色foreground#e6e6e6rgb(230 230 230)hsl(0 0% 90%)oklch(92.5% 0.000 0)11.98 AAA
光標cursor#9d9d9drgb(157 157 157)hsl(0 0% 62%)oklch(69.6% 0.000 0)5.51 AA
光標文字cursorText#212734rgb(33 39 52)hsl(221 22% 17%)oklch(27.3% 0.026 265.4)1.00 低於 AA
選取範圍selection#334e5ergb(51 78 94)hsl(202 30% 28%)oklch(40.9% 0.042 235.2)1.70 低於 AA
選取文字selectionText#6e7380rgb(110 115 128)hsl(223 8% 47%)oklch(55.6% 0.021 268.9)3.15 AA 大字體
黑color0#35424crgb(53 66 76)hsl(206 18% 25%)oklch(37.2% 0.024 241.4)1.45 低於 AA
紅color1#b45648rgb(180 86 72)hsl(8 43% 49%)oklch(56.6% 0.125 30.1)3.11 AA 大字體
綠color2#6caa71rgb(108 170 113)hsl(125 27% 55%)oklch(68.1% 0.105 146.2)5.43 AA
黃color3#c4ac62rgb(196 172 98)hsl(45 45% 58%)oklch(74.9% 0.098 91.9)6.71 AA
藍color4#6d96b4rgb(109 150 180)hsl(205 32% 57%)oklch(65.4% 0.064 240.7)4.75 AA
洋紅color5#bd7bcdrgb(189 123 205)hsl(288 45% 64%)oklch(68.1% 0.137 319.6)4.90 AA
青color6#7ccbcdrgb(124 203 205)hsl(181 45% 65%)oklch(79.2% 0.078 197.8)8.03 AAA
白color7#dee5ebrgb(222 229 235)hsl(208 25% 90%)oklch(91.8% 0.011 243.7)11.76 AAA
亮黑color8#465c6drgb(70 92 109)hsl(206 22% 35%)oklch(46.4% 0.039 241.8)2.14 低於 AA
亮紅color9#df6c5argb(223 108 90)hsl(8 68% 61%)oklch(66.4% 0.147 30.6)4.58 AA
亮綠color10#79be7ergb(121 190 126)hsl(124 35% 61%)oklch(73.9% 0.115 146.0)6.75 AA
亮黃color11#e5c872rgb(229 200 114)hsl(45 69% 67%)oklch(83.9% 0.111 91.3)9.14 AAA
亮藍color12#67b5edrgb(103 181 237)hsl(205 79% 67%)oklch(74.5% 0.112 241.6)6.70 AA
亮洋紅color13#d389e5rgb(211 137 229)hsl(288 64% 72%)oklch(73.8% 0.150 319.6)6.04 AA
亮青color14#84dde0rgb(132 221 224)hsl(182 60% 70%)oklch(84.3% 0.086 198.4)9.54 AAA
亮白color15#e5eff5rgb(229 239 245)hsl(203 44% 93%)oklch(94.6% 0.013 233.7)12.81 AAA

關於 Clear Dark

Clear Dark 採用冷色調的深色背景(#212734),預設前景色為 #e6e6e6。正文的 WCAG 對比度為 11.98:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.31:1,最低 3.11:1。

色板整體色彩飽和度適中,其中紅色為 #b45648、綠色為 #6caa71、藍色為 #6d96b4、洋紅為 #bd7bcd。

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

與 Clear Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)