跳到主要內容

datum (dark)

datum (dark) 是一套深色終端機配色(粉彩、冷色),背景色 #0f1318,文字色 #dbe0e8,對比度 14.1:1

取得設定檔
背景色
#0f1318
前景色
#dbe0e8
文字對比度
14.06:1AAA
強調色對比度
11.55:1最低 8.77
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
❯

datum (dark) 的設定檔

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

datum (dark)

存到 ~/.config/ghostty/themes/datum (dark),再在 config 或 config.ghostty 裡寫 theme = datum (dark)

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

palette = 0=#2b2f35
palette = 1=#fe9864
palette = 2=#54dcaa
palette = 3=#e8df69
palette = 4=#69b9f7
palette = 5=#fa94cd
palette = 6=#6ae5ec
palette = 7=#dbe0e8
palette = 8=#8f98a3
palette = 9=#f8bd5f
palette = 10=#54dcaa
palette = 11=#fcdcad
palette = 12=#b2dafb
palette = 13=#f5b9d9
palette = 14=#a5f5f9
palette = 15=#eef2f7
background = #0f1318
foreground = #dbe0e8
cursor-color = #fa94cd
cursor-text = #0f1318
selection-background = #2b2f35
selection-foreground = #dbe0e8

datum (dark) 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0f1318rgb(15 19 24)hsl(213 23% 8%)oklch(18.5% 0.012 254.1)—
前景色foreground#dbe0e8rgb(219 224 232)hsl(217 22% 88%)oklch(90.5% 0.012 259.8)14.06 AAA
游標cursor#fa94cdrgb(250 148 205)hsl(326 91% 78%)oklch(79.0% 0.140 346.2)9.04 AAA
游標文字cursorText#0f1318rgb(15 19 24)hsl(213 23% 8%)oklch(18.5% 0.012 254.1)1.00 低於 AA
選取範圍selection#2b2f35rgb(43 47 53)hsl(216 10% 19%)oklch(30.4% 0.012 258.4)1.39 低於 AA
選取文字selectionText#dbe0e8rgb(219 224 232)hsl(217 22% 88%)oklch(90.5% 0.012 259.8)14.06 AAA
黑color0#2b2f35rgb(43 47 53)hsl(216 10% 19%)oklch(30.4% 0.012 258.4)1.39 低於 AA
紅color1#fe9864rgb(254 152 100)hsl(20 99% 69%)oklch(77.6% 0.140 46.9)8.78 AAA
綠color2#54dcaargb(84 220 170)hsl(158 66% 60%)oklch(80.7% 0.139 165.3)10.82 AAA
黃color3#e8df69rgb(232 223 105)hsl(56 73% 66%)oklch(88.8% 0.140 104.9)13.48 AAA
藍color4#69b9f7rgb(105 185 247)hsl(206 90% 69%)oklch(76.0% 0.119 243.7)8.77 AAA
洋紅color5#fa94cdrgb(250 148 205)hsl(326 91% 78%)oklch(79.0% 0.140 346.2)9.04 AAA
青color6#6ae5ecrgb(106 229 236)hsl(183 77% 67%)oklch(85.5% 0.110 200.4)12.45 AAA
白color7#dbe0e8rgb(219 224 232)hsl(217 22% 88%)oklch(90.5% 0.012 259.8)14.06 AAA
亮黑color8#8f98a3rgb(143 152 163)hsl(213 10% 60%)oklch(67.6% 0.019 253.4)6.38 AA
亮紅color9#f8bd5frgb(248 189 95)hsl(37 92% 67%)oklch(83.4% 0.130 77.0)11.04 AAA
亮綠color10#54dcaargb(84 220 170)hsl(158 66% 60%)oklch(80.7% 0.139 165.3)10.82 AAA
亮黃color11#fcdcadrgb(252 220 173)hsl(36 93% 83%)oklch(91.0% 0.070 77.2)14.18 AAA
亮藍color12#b2dafbrgb(178 218 251)hsl(207 90% 84%)oklch(87.1% 0.062 243.4)12.71 AAA
亮洋紅color13#f5b9d9rgb(245 185 217)hsl(328 75% 84%)oklch(85.0% 0.080 345.7)11.38 AAA
亮青color14#a5f5f9rgb(165 245 249)hsl(183 87% 81%)oklch(92.0% 0.078 199.9)15.11 AAA
亮白color15#eef2f7rgb(238 242 247)hsl(213 36% 95%)oklch(96.0% 0.008 253.9)16.58 AAA

關於 datum (dark)

datum (dark) 採用冷色調的深色背景(#0f1318),預設前景色為 #dbe0e8。內文的 WCAG 對比度為 14.06:1(AAA),12 種 ANSI 彩色槽位平均對比度 11.55:1,最低 8.77:1。

色票整體色彩彩度適中,其中紅色為 #fe9864、綠色為 #54dcaa、藍色為 #69b9f7、洋紅為 #fa94cd。

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

與 datum (dark) 相似的配色

資料來源:iTerm2 Color Schemes (MIT)