跳到正文

Ascendancy

Ascendancy 是一套深色终端配色,背景色 #282828,文字色 #d5c7a1,对比度 8.8:1

获取配置
背景色
#282828
前景色
#d5c7a1
文字对比度
8.79:1AAA
强调色对比度
5.78:1最低 2.19
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
❯

Ascendancy 的配置文件

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

Ascendancy

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

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

palette = 0=#282828
palette = 1=#d05000
palette = 2=#b8bb26
palette = 3=#ffcc1b
palette = 4=#458588
palette = 5=#fabd2f
palette = 6=#8f3f71
palette = 7=#d5c7a1
palette = 8=#928374
palette = 9=#d05000
palette = 10=#b8bb26
palette = 11=#ffcc1b
palette = 12=#458588
palette = 13=#fabd2f
palette = 14=#8f3f71
palette = 15=#fbf1c7
background = #282828
foreground = #d5c7a1
cursor-color = #d5c7a1
cursor-text = #282828
selection-background = #4f4c44
selection-foreground = #d5c7a1

Ascendancy 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)—
前景色foreground#d5c7a1rgb(213 199 161)hsl(44 38% 73%)oklch(83.2% 0.053 90.2)8.79 AAA
光标cursor#d5c7a1rgb(213 199 161)hsl(44 38% 73%)oklch(83.2% 0.053 90.2)8.79 AAA
光标文字cursorText#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)1.00 低于 AA
选区selection#4f4c44rgb(79 76 68)hsl(44 7% 29%)oklch(41.7% 0.014 89.8)1.72 低于 AA
选区文字selectionText#d5c7a1rgb(213 199 161)hsl(44 38% 73%)oklch(83.2% 0.053 90.2)8.79 AAA
黑color0#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)1.00 低于 AA
红color1#d05000rgb(208 80 0)hsl(23 100% 41%)oklch(59.4% 0.177 42.8)3.39 AA 大字号
绿color2#b8bb26rgb(184 187 38)hsl(61 66% 44%)oklch(76.5% 0.158 110.8)7.14 AAA
黄color3#ffcc1brgb(255 204 27)hsl(47 100% 55%)oklch(86.6% 0.173 89.8)9.76 AAA
蓝color4#458588rgb(69 133 136)hsl(183 33% 40%)oklch(57.6% 0.066 199.5)3.48 AA 大字号
品红color5#fabd2frgb(250 189 47)hsl(42 95% 58%)oklch(83.2% 0.159 83.0)8.69 AAA
青color6#8f3f71rgb(143 63 113)hsl(323 39% 40%)oklch(48.9% 0.124 344.3)2.19 低于 AA
白color7#d5c7a1rgb(213 199 161)hsl(44 38% 73%)oklch(83.2% 0.053 90.2)8.79 AAA
亮黑color8#928374rgb(146 131 116)hsl(30 12% 51%)oklch(61.9% 0.029 67.3)4.02 AA 大字号
亮红color9#d05000rgb(208 80 0)hsl(23 100% 41%)oklch(59.4% 0.177 42.8)3.39 AA 大字号
亮绿color10#b8bb26rgb(184 187 38)hsl(61 66% 44%)oklch(76.5% 0.158 110.8)7.14 AAA
亮黄color11#ffcc1brgb(255 204 27)hsl(47 100% 55%)oklch(86.6% 0.173 89.8)9.76 AAA
亮蓝color12#458588rgb(69 133 136)hsl(183 33% 40%)oklch(57.6% 0.066 199.5)3.48 AA 大字号
亮品红color13#fabd2frgb(250 189 47)hsl(42 95% 58%)oklch(83.2% 0.159 83.0)8.69 AAA
亮青color14#8f3f71rgb(143 63 113)hsl(323 39% 40%)oklch(48.9% 0.124 344.3)2.19 低于 AA
亮白color15#fbf1c7rgb(251 241 199)hsl(48 87% 88%)oklch(95.6% 0.055 96.2)12.99 AAA

关于 Ascendancy

Ascendancy 采用中性色调的深色背景(#282828),默认前景色为 #d5c7a1。正文的 WCAG 对比度为 8.79:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.78:1,最低 2.19:1。

色板整体色彩饱和度适中,其中红色为 #d05000、绿色为 #b8bb26、蓝色为 #458588、品红为 #fabd2f。

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

与 Ascendancy 相似的配色

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