跳到正文

Chameleon

Chameleon 是一套深色终端配色(柔和),背景色 #2c2c2c,文字色 #dedede,对比度 10.4:1

获取配置
背景色
#2c2c2c
前景色
#dedede
文字对比度
10.38:1AAA
强调色对比度
3.33:1最低 1.79
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
❯

Chameleon 的配置文件

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

Chameleon

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

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

palette = 0=#2c2c2c
palette = 1=#cc231c
palette = 2=#689d69
palette = 3=#d79922
palette = 4=#366b71
palette = 5=#4e5165
palette = 6=#458587
palette = 7=#c8bb97
palette = 8=#777777
palette = 9=#cc231c
palette = 10=#689d69
palette = 11=#d79922
palette = 12=#366b71
palette = 13=#4e5165
palette = 14=#458587
palette = 15=#c8bb97
background = #2c2c2c
foreground = #dedede
cursor-color = #dedede
cursor-text = #2c2c2c
selection-background = #545454
selection-foreground = #dedede

Chameleon 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#2c2c2crgb(44 44 44)hsl(0 0% 17%)oklch(29.3% 0.000 0)—
前景色foreground#dededergb(222 222 222)hsl(0 0% 87%)oklch(90.1% 0.000 0)10.38 AAA
光标cursor#dededergb(222 222 222)hsl(0 0% 87%)oklch(90.1% 0.000 0)10.38 AAA
光标文字cursorText#2c2c2crgb(44 44 44)hsl(0 0% 17%)oklch(29.3% 0.000 0)1.00 低于 AA
选区selection#545454rgb(84 84 84)hsl(0 0% 33%)oklch(44.6% 0.000 0)1.84 低于 AA
选区文字selectionText#dededergb(222 222 222)hsl(0 0% 87%)oklch(90.1% 0.000 0)10.38 AAA
黑color0#2c2c2crgb(44 44 44)hsl(0 0% 17%)oklch(29.3% 0.000 0)1.00 低于 AA
红color1#cc231crgb(204 35 28)hsl(2 76% 45%)oklch(54.5% 0.204 28.7)2.54 低于 AA
绿color2#689d69rgb(104 157 105)hsl(121 21% 51%)oklch(64.5% 0.095 144.8)4.40 AA 大字号
黄color3#d79922rgb(215 153 34)hsl(39 73% 49%)oklch(72.5% 0.143 77.6)5.63 AA
蓝color4#366b71rgb(54 107 113)hsl(186 35% 33%)oklch(49.4% 0.057 205.1)2.33 低于 AA
品红color5#4e5165rgb(78 81 101)hsl(232 13% 35%)oklch(44.0% 0.033 278.3)1.79 低于 AA
青color6#458587rgb(69 133 135)hsl(182 32% 40%)oklch(57.5% 0.066 198.2)3.30 AA 大字号
白color7#c8bb97rgb(200 187 151)hsl(44 31% 69%)oklch(79.4% 0.051 90.5)7.32 AAA
亮黑color8#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)3.12 AA 大字号
亮红color9#cc231crgb(204 35 28)hsl(2 76% 45%)oklch(54.5% 0.204 28.7)2.54 低于 AA
亮绿color10#689d69rgb(104 157 105)hsl(121 21% 51%)oklch(64.5% 0.095 144.8)4.40 AA 大字号
亮黄color11#d79922rgb(215 153 34)hsl(39 73% 49%)oklch(72.5% 0.143 77.6)5.63 AA
亮蓝color12#366b71rgb(54 107 113)hsl(186 35% 33%)oklch(49.4% 0.057 205.1)2.33 低于 AA
亮品红color13#4e5165rgb(78 81 101)hsl(232 13% 35%)oklch(44.0% 0.033 278.3)1.79 低于 AA
亮青color14#458587rgb(69 133 135)hsl(182 32% 40%)oklch(57.5% 0.066 198.2)3.30 AA 大字号
亮白color15#c8bb97rgb(200 187 151)hsl(44 31% 69%)oklch(79.4% 0.051 90.5)7.32 AAA

关于 Chameleon

Chameleon 采用中性色调的深色背景(#2c2c2c),默认前景色为 #dedede。正文的 WCAG 对比度为 10.38:1(AAA),12 种 ANSI 彩色槽位平均对比度 3.33:1,最低 1.79:1。

色板整体色彩饱和度适中,其中红色为 #cc231c、绿色为 #689d69、蓝色为 #366b71、品红为 #4e5165。

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

与 Chameleon 相似的配色

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