跳到主要內容

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/zh-hk/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)