跳到正文

Tempus Night

Tempus Night 是一套深色终端配色,背景色 #1a1a1a,文字色 #e0e0e0,对比度 13.2:1

获取配置
背景色
#1a1a1a
前景色
#e0e0e0
文字对比度
13.18:1AAA
强调色对比度
8.19:1最低 8.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
❯

Tempus Night 的配置文件

16 种格式,都从同一份色板生成

Tempus Night

存到 ~/.config/ghostty/themes/Tempus Night,再在 config 或 config.ghostty 里写 theme = Tempus Night

更多 Ghostty 配色
原始文件
# Theme: Tempus Night (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/tempus-night?format=ghostty

palette = 0=#1a1a1a
palette = 1=#ff929f
palette = 2=#5fc940
palette = 3=#c5b300
palette = 4=#5fb8ff
palette = 5=#ef91df
palette = 6=#1dc5c3
palette = 7=#c4bdaf
palette = 8=#242536
palette = 9=#f69d6a
palette = 10=#88c400
palette = 11=#d7ae00
palette = 12=#8cb4f0
palette = 13=#de99f0
palette = 14=#00ca9a
palette = 15=#e0e0e0
background = #1a1a1a
foreground = #e0e0e0
cursor-color = #e0e0e0
cursor-text = #1a1a1a
selection-background = #454545
selection-foreground = #e0e0e0

Tempus Night 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)—
前景色foreground#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.18 AAA
光标cursor#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.18 AAA
光标文字cursorText#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低于 AA
选区selection#454545rgb(69 69 69)hsl(0 0% 27%)oklch(39.0% 0.000 0)1.82 低于 AA
选区文字selectionText#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.18 AAA
黑color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.00 低于 AA
红color1#ff929frgb(255 146 159)hsl(353 100% 79%)oklch(77.9% 0.132 13.0)8.18 AAA
绿color2#5fc940rgb(95 201 64)hsl(106 56% 52%)oklch(74.5% 0.200 139.5)8.22 AAA
黄color3#c5b300rgb(197 179 0)hsl(55 100% 39%)oklch(75.8% 0.159 102.2)8.14 AAA
蓝color4#5fb8ffrgb(95 184 255)hsl(207 100% 69%)oklch(75.7% 0.134 245.0)8.11 AAA
品红color5#ef91dfrgb(239 145 223)hsl(310 75% 75%)oklch(77.9% 0.149 333.4)8.11 AAA
青color6#1dc5c3rgb(29 197 195)hsl(179 74% 44%)oklch(74.7% 0.124 193.5)8.14 AAA
白color7#c4bdafrgb(196 189 175)hsl(40 15% 73%)oklch(80.0% 0.021 84.6)9.32 AAA
亮黑color8#242536rgb(36 37 54)hsl(237 20% 18%)oklch(27.1% 0.031 281.5)1.15 低于 AA
亮红color9#f69d6argb(246 157 106)hsl(22 89% 69%)oklch(77.5% 0.126 49.9)8.25 AAA
亮绿color10#88c400rgb(136 196 0)hsl(78 100% 38%)oklch(75.1% 0.197 128.4)8.24 AAA
亮黄color11#d7ae00rgb(215 174 0)hsl(49 100% 42%)oklch(76.6% 0.157 91.7)8.24 AAA
亮蓝color12#8cb4f0rgb(140 180 240)hsl(216 77% 75%)oklch(76.4% 0.097 258.3)8.21 AAA
亮品红color13#de99f0rgb(222 153 240)hsl(288 74% 77%)oklch(78.0% 0.140 319.2)8.22 AAA
亮青color14#00ca9argb(0 202 154)hsl(166 100% 40%)oklch(74.5% 0.151 168.0)8.22 AAA
亮白color15#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)13.18 AAA

关于 Tempus Night

Tempus Night 采用中性色调的深色背景(#1a1a1a),默认前景色为 #e0e0e0。正文的 WCAG 对比度为 13.18:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.19:1,最低 8.11:1。

色板整体色彩饱和度适中,其中红色为 #ff929f、绿色为 #5fc940、蓝色为 #5fb8ff、品红为 #ef91df。该配色归属 Tempus 主题系列。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Tempus Night 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)