Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

TaskNotes Project Colors

minorchangeminorchange2k downloads

Automatically colors TaskNotes task cards by project using a deterministic hash-based color scheme.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Automatically colors TaskNotes task cards by project. Each project gets a distinct background color and left border, computed from a hash of the project name. Adding a new project requires zero configuration — the color is assigned automatically.

Screenshot

How it works

The plugin watches the DOM for TaskNotes task cards. When a card contains a project link, it:

  1. Reads the project name from the link's data-href attribute
  2. Computes a DJB2 hash of the name
  3. Maps the hash to a hue value (0–359)
  4. Sets a --project-hue CSS custom property on the card

The plugin's stylesheet then applies a tinted background and colored left border using that hue. Both light and dark themes are supported.

Colors appear in all TaskNotes views that render task cards (kanban, task list, agenda).

Customization

To tweak the saturation or lightness of the colors, create a CSS snippet in your vault (Settings → Appearance → CSS snippets) that overrides the defaults:

/* Example: more saturated, slightly darker backgrounds */
.tasknotes-plugin .task-card[style*="--project-hue"] {
    background-color: hsl(var(--project-hue), 70%, 88%);
    border-left: 3px solid hsl(var(--project-hue), 60%, 50%);
}
.theme-dark .tasknotes-plugin .task-card[style*="--project-hue"] {
    background-color: hsl(var(--project-hue), 40%, 15%);
    border-left: 3px solid hsl(var(--project-hue), 50%, 35%);
}

Installation

From Obsidian Community Plugins

  1. Open Settings → Community Plugins → Browse
  2. Search for "TaskNotes Project Colors"
  3. Click Install, then Enable

Manual

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder your-vault/.obsidian/plugins/tasknotes-project-colors/
  3. Place the three files in that folder
  4. Restart Obsidian and enable the plugin in Settings → Community Plugins
HealthGood
ReviewSatisfactory
About
Color TaskNotes task cards by project with automatically assigned hues. Assign distinct background tints and colored left borders per project using a hash of the project name, with light/dark theme support across kanban, task list, and agenda views.
TasksAppearanceTheming
Details
Current version
0.1.2
Last updated
7 months ago
Created
8 months ago
Updates
3 releases
Downloads
2k
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
minorchangeminorchange
GitHubminorchange
  1. Community
  2. Plugins
  3. Tasks
  4. TaskNotes Project Colors

Related plugins

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Style Settings

Adjust theme, plugin, and snippet CSS variables.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering. Maintained by Clare Macrae and Ilyas Landikov, created by Martin Schenck.

TaskNotes

Note-based task management with calendar, pomodoro and time-tracking integration.

Day Planner

Turn tasks from daily notes, the Tasks plugin, and calendars into time blocks on an editable timeline, with built-in time tracker.

Supercharged Links

Add attributes to internal links with the values of target note's frontmatter attributes.

Note Toolbar

Add customizable toolbars to your notes.

Checklist

Consolidate checklists across all files into a single view.