跳到主要內容

Pico

Pico 是一套深色終端機配色(純黑、柔和),背景色 #000000,文字色 #5f574f,對比度 3.0:1

取得設定檔
背景色
#000000
前景色
#5f574f
文字對比度
2.96:1低於 AA
強調色對比度
9.61:1最低 5.04
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
❯

Pico 的設定檔

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

Pico

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

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

palette = 0=#000000
palette = 1=#ff004d
palette = 2=#00e756
palette = 3=#fff024
palette = 4=#83769c
palette = 5=#ff77a8
palette = 6=#29adff
palette = 7=#5f574f
palette = 8=#008751
palette = 9=#ff004d
palette = 10=#00e756
palette = 11=#fff024
palette = 12=#83769c
palette = 13=#ff77a8
palette = 14=#29adff
palette = 15=#fff1e8
background = #000000
foreground = #5f574f
cursor-color = #5f574f
cursor-text = #000000
selection-background = #060504
selection-foreground = #5f574f

Pico 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#5f574frgb(95 87 79)hsl(30 9% 34%)oklch(46.2% 0.016 67.4)2.96 低於 AA
游標cursor#5f574frgb(95 87 79)hsl(30 9% 34%)oklch(46.2% 0.016 67.4)2.96 低於 AA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#060504rgb(6 5 4)hsl(30 20% 2%)oklch(11.6% 0.004 70.6)1.03 低於 AA
選取文字selectionText#5f574frgb(95 87 79)hsl(30 9% 34%)oklch(46.2% 0.016 67.4)2.96 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#ff004drgb(255 0 77)hsl(342 100% 50%)oklch(63.4% 0.254 17.6)5.36 AA
綠color2#00e756rgb(0 231 86)hsl(142 100% 45%)oklch(80.8% 0.240 147.0)12.56 AAA
黃color3#fff024rgb(255 240 36)hsl(56 100% 57%)oklch(93.8% 0.193 104.8)17.74 AAA
藍color4#83769crgb(131 118 156)hsl(261 16% 54%)oklch(59.2% 0.059 300.3)5.04 AA
洋紅color5#ff77a8rgb(255 119 168)hsl(338 100% 73%)oklch(74.2% 0.172 359.5)8.46 AAA
青color6#29adffrgb(41 173 255)hsl(203 100% 58%)oklch(71.8% 0.160 242.7)8.52 AAA
白color7#5f574frgb(95 87 79)hsl(30 9% 34%)oklch(46.2% 0.016 67.4)2.96 低於 AA
亮黑color8#008751rgb(0 135 81)hsl(156 100% 26%)oklch(54.9% 0.131 157.0)4.58 AA
亮紅color9#ff004drgb(255 0 77)hsl(342 100% 50%)oklch(63.4% 0.254 17.6)5.36 AA
亮綠color10#00e756rgb(0 231 86)hsl(142 100% 45%)oklch(80.8% 0.240 147.0)12.56 AAA
亮黃color11#fff024rgb(255 240 36)hsl(56 100% 57%)oklch(93.8% 0.193 104.8)17.74 AAA
亮藍color12#83769crgb(131 118 156)hsl(261 16% 54%)oklch(59.2% 0.059 300.3)5.04 AA
亮洋紅color13#ff77a8rgb(255 119 168)hsl(338 100% 73%)oklch(74.2% 0.172 359.5)8.46 AAA
亮青color14#29adffrgb(41 173 255)hsl(203 100% 58%)oklch(71.8% 0.160 242.7)8.52 AAA
亮白color15#fff1e8rgb(255 241 232)hsl(23 100% 95%)oklch(96.7% 0.019 55.2)19.00 AAA

關於 Pico

Pico 採用中性色調的深色背景(#000000),預設前景色為 #5f574f。內文的 WCAG 對比度為 2.96:1(低於 AA),12 種 ANSI 彩色槽位平均對比度 9.61:1,最低 5.04:1。

色票整體色彩彩度較高,其中紅色為 #ff004d、綠色為 #00e756、藍色為 #83769c、洋紅為 #ff77a8。

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

與 Pico 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)