跳到正文

Constant Perceptual Luminosity Dark

Constant Perceptual Luminosity Dark 是一套深色终端配色(纯黑、柔和),背景色 #000000,文字色 #777777,对比度 4.7:1

获取配置
背景色
#000000
前景色
#777777
文字对比度
4.69:1AA
强调色对比度
4.78:1最低 2.82
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
❯

Constant Perceptual Luminosity Dark 的配置文件

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

Constant Perceptual Luminosity Dark

存到 ~/.config/ghostty/themes/Constant Perceptual Luminosity Dark,再在 config 或 config.ghostty 里写 theme = Constant Perceptual Luminosity Dark

更多 Ghostty 配色
原始文件
# Theme: Constant Perceptual Luminosity Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/constant-perceptual-luminosity-dark?format=ghostty

palette = 0=#000000
palette = 1=#b10b00
palette = 2=#007232
palette = 3=#745b00
palette = 4=#3123ff
palette = 5=#9b0097
palette = 6=#006a78
palette = 7=#777777
palette = 8=#464646
palette = 9=#ff3d2b
palette = 10=#00ae50
palette = 11=#b18c00
palette = 12=#6786ff
palette = 13=#eb00e4
palette = 14=#00a3b7
palette = 15=#ababab
background = #000000
foreground = #777777
cursor-color = #777777
cursor-text = #000000
selection-background = #090909
selection-foreground = #777777

Constant Perceptual Luminosity Dark 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)4.69 AA
光标cursor#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)4.69 AA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
选区selection#090909rgb(9 9 9)hsl(0 0% 4%)oklch(14.0% 0.000 0)1.05 低于 AA
选区文字selectionText#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)4.69 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
红color1#b10b00rgb(177 11 0)hsl(4 100% 35%)oklch(48.1% 0.193 30.0)2.92 低于 AA
绿color2#007232rgb(0 114 50)hsl(146 100% 22%)oklch(48.3% 0.133 150.0)3.45 AA 大字号
黄color3#745b00rgb(116 91 0)hsl(47 100% 23%)oklch(48.3% 0.099 90.0)3.24 AA 大字号
蓝color4#3123ffrgb(49 35 255)hsl(244 100% 57%)oklch(48.2% 0.293 269.9)2.82 低于 AA
品红color5#9b0097rgb(155 0 151)hsl(302 100% 30%)oklch(48.1% 0.220 329.7)2.84 低于 AA
青color6#006a78rgb(0 106 120)hsl(187 100% 24%)oklch(48.1% 0.083 210.5)3.33 AA 大字号
白color7#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)4.69 AA
亮黑color8#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)2.22 低于 AA
亮红color9#ff3d2brgb(255 61 43)hsl(5 100% 58%)oklch(65.5% 0.231 29.9)5.95 AA
亮绿color10#00ae50rgb(0 174 80)hsl(148 100% 34%)oklch(65.6% 0.181 150.0)7.17 AAA
亮黄color11#b18c00rgb(177 140 0)hsl(47 100% 35%)oklch(65.6% 0.134 89.9)6.62 AA
亮蓝color12#6786ffrgb(103 134 255)hsl(228 100% 70%)oklch(65.7% 0.182 270.0)6.43 AA
亮品红color13#eb00e4rgb(235 0 228)hsl(302 100% 46%)oklch(65.6% 0.299 330.0)5.65 AA
亮青color14#00a3b7rgb(0 163 183)hsl(187 100% 36%)oklch(65.6% 0.113 210.1)6.92 AA
亮白color15#abababrgb(171 171 171)hsl(0 0% 67%)oklch(74.1% 0.000 0)9.14 AAA

关于 Constant Perceptual Luminosity Dark

Constant Perceptual Luminosity Dark 采用中性色调的深色背景(#000000),默认前景色为 #777777。正文的 WCAG 对比度为 4.69:1(AA),12 种 ANSI 彩色槽位平均对比度 4.78:1,最低 2.82:1。

色板整体色彩饱和度较高,其中红色为 #b10b00、绿色为 #007232、蓝色为 #3123ff、品红为 #9b0097。

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

与 Constant Perceptual Luminosity Dark 相似的配色

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