Rafael Ordaz2k downloadsColorize open tabs to visually distinguish notes at a glance, using a right-click context menu.
An Obsidian plugin that lets you assign a background color to any open tab, making it easy to visually distinguish notes at a glance.
When working with several notes simultaneously — researching, cross-referencing, or writing — it can be hard to quickly jump to the right tab. Color Tab lets you visually tag each tab with a color, so you can cycle through your open notes faster and reduce mental overhead.
Examples of how people use it:
main.js, manifest.json, and styles.css from the latest release.<your-vault>/.obsidian/plugins/color-tab/
Color assignments are saved and restored after restart, including for inactive tabs.
For Markdown notes, assigning a color also writes its lowercase palette name to YAML frontmatter:
---
color-tab: red
---
Custom palette names are supported, and shades use their palette's name. Other properties and the note body are preserved. Non-Markdown files are not modified.
The submenu remains attached to that palette color after choosing a shade and marks the selected shade with a check.
The YAML property remains present but unset:
---
color-tab:
---
This also applies to Remove all tabs' color and automatic removal on closing. The property is written when assigning or removing colors; editing it manually does not change the tab color.
Hold Ctrl (Windows/Linux) or Cmd (macOS) while clicking Obsidian's Back or Forward history arrow. The history destination opens in a new tab without interrupting navigation.
The optional WCAG setting keeps the current Obsidian theme's text color whenever it already has sufficient contrast. Otherwise, Color Tab adjusts its lightness while preserving saturation and hue wherever possible. Inactive, hovered, and active tab titles are evaluated separately; tab icons are not changed.
| Slot | Name | Hex |
|---|---|---|
| 1 | Red | #FFB3BA |
| 2 | Yellow | #FFDFBA |
| 3 | Green | #B5EAD7 |
| 4 | Blue | #BAE1FF |
| 5 | Lavender | #E2BAFF |
All defaults are soft pastels so they remain readable in both light and dark themes.
MIT
Thanks to @xRyul for the startup restoration, WCAG contrast, color shade submenu, and modifier-click navigation contributions in PR #2, PR #3, PR #4, and PR #5.