跳到主要內容

Candy Corn

Candy Corn 是一套淺色終端機配色(低彩度、暖色),背景色 #fff0d2,文字色 #51463b,對比度 8.2:1

取得設定檔
背景色
#fff0d2
前景色
#51463b
文字對比度
8.15:1AAA
強調色對比度
7.43:1最低 5.88
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
❯

Candy Corn 的設定檔

16 種格式,都從同一份色票產生

Candy Corn

存到 ~/.config/ghostty/themes/Candy Corn,再在 config 或 config.ghostty 裡寫 theme = Candy Corn

更多 Ghostty 配色
原始檔
# Theme: Candy Corn (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/candy-corn?format=ghostty

palette = 0=#322b24
palette = 1=#9b2f12
palette = 2=#46612d
palette = 3=#785711
palette = 4=#36516b
palette = 5=#69416e
palette = 6=#28656a
palette = 7=#51463b
palette = 8=#29231e
palette = 9=#7f270f
palette = 10=#395025
palette = 11=#62470e
palette = 12=#2c4258
palette = 13=#56355a
palette = 14=#215357
palette = 15=#423930
background = #fff0d2
foreground = #51463b
cursor-color = #24150e
cursor-text = #fff0d2
selection-background = #f6c89b
selection-foreground = #24150e

Candy Corn 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fff0d2rgb(255 240 210)hsl(40 100% 91%)oklch(95.9% 0.042 84.6)—
前景色foreground#51463brgb(81 70 59)hsl(30 16% 27%)oklch(40.2% 0.023 67.1)8.15 AAA
游標cursor#24150ergb(36 21 14)hsl(19 44% 10%)oklch(21.4% 0.028 45.8)15.69 AAA
游標文字cursorText#fff0d2rgb(255 240 210)hsl(40 100% 91%)oklch(95.9% 0.042 84.6)1.00 低於 AA
選取範圍selection#f6c89brgb(246 200 155)hsl(30 83% 79%)oklch(86.2% 0.079 65.8)1.37 低於 AA
選取文字selectionText#24150ergb(36 21 14)hsl(19 44% 10%)oklch(21.4% 0.028 45.8)15.69 AAA
黑color0#322b24rgb(50 43 36)hsl(30 16% 17%)oklch(29.4% 0.016 67.1)12.38 AAA
紅color1#9b2f12rgb(155 47 18)hsl(13 79% 34%)oklch(46.6% 0.149 35.2)6.64 AA
綠color2#46612drgb(70 97 45)hsl(91 37% 28%)oklch(45.8% 0.084 131.6)6.20 AA
黃color3#785711rgb(120 87 17)hsl(41 75% 27%)oklch(48.0% 0.092 80.7)5.88 AA
藍color4#36516brgb(54 81 107)hsl(209 33% 32%)oklch(42.5% 0.054 248.3)7.32 AAA
洋紅color5#69416ergb(105 65 110)hsl(293 26% 34%)oklch(44.0% 0.087 322.9)7.22 AAA
青color6#28656argb(40 101 106)hsl(185 45% 29%)oklch(46.9% 0.063 202.7)5.90 AA
白color7#51463brgb(81 70 59)hsl(30 16% 27%)oklch(40.2% 0.023 67.1)8.15 AAA
亮黑color8#29231ergb(41 35 30)hsl(27 15% 14%)oklch(26.1% 0.013 62.0)13.78 AAA
亮紅color9#7f270frgb(127 39 15)hsl(13 79% 28%)oklch(40.5% 0.126 35.5)8.48 AAA
亮綠color10#395025rgb(57 80 37)hsl(92 37% 23%)oklch(40.1% 0.072 132.0)7.94 AAA
亮黃color11#62470ergb(98 71 14)hsl(41 75% 22%)oklch(41.7% 0.079 81.1)7.68 AAA
亮藍color12#2c4258rgb(44 66 88)hsl(210 33% 26%)oklch(37.1% 0.047 249.2)9.20 AAA
亮洋紅color13#56355argb(86 53 90)hsl(294 26% 28%)oklch(38.4% 0.074 323.0)9.08 AAA
亮青color14#215357rgb(33 83 87)hsl(184 45% 24%)oklch(41.0% 0.054 202.5)7.64 AAA
亮白color15#423930rgb(66 57 48)hsl(30 16% 22%)oklch(35.1% 0.020 67.1)10.03 AAA

關於 Candy Corn

Candy Corn 採用暖色調的淺色背景(#fff0d2),預設前景色為 #51463b。內文的 WCAG 對比度為 8.15:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.43:1,最低 5.88:1。

色票整體色彩彩度偏低,其中紅色為 #9b2f12、綠色為 #46612d、藍色為 #36516b、洋紅為 #69416e。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Candy Corn 相似的配色

資料來源:iTerm2 Color Schemes (MIT)