Always Color Text

by Kazi Aidah Haque
5
4
3
2
1
Score: 52/100

Description

Category: Customization & UI

The Always Color Text plugin gives you full control over how specific words or phrases appear across your vault by letting you assign consistent text or background colours. You can mark terms permanently from the right-click menu, command palette, or plugin settings or apply one time highlights as needed. It supports case sensitivity, partial word matching, and even blacklisting to prevent certain files or terms from being affected. The plugin also allows you to design custom colour swatches for quicker access, replace default palettes and toggle global colouring on or off from multiple entry points like the ribbon or status bar. If you want to undo everything, there is a quick reset button with confirmation to wipe your coloured words safely.

Reviews

No reviews yet.

Stats

46
stars
8,187
downloads
3
forks
239
days
3
days
3
days
3
total PRs
0
open PRs
0
closed PRs
3
merged PRs
44
total issues
4
open issues
40
closed issues
0
commits

Latest Version

4 days ago

Changelog

Bugfixes

  • Fixed loss of rendering on scroll in Live Preview
  • Fixed bullets being pushed outside of editor when 'Color Line' or 'Color Next Line' is used
Before Fixed

README file from

Github

Obsidian Downloads Stars Version Last update

Always Color Text

Color & highlight keywords, status words, dates, names, anything! Once assigned, colors appear automatically throughout your vault in both Live Preview and Reading view.

banner

Just select a word → pick a color → watch it appear everywhere. Lightning-fast performance. highlight coloring example in editor

Whether you're a writer tracking characters, a student highlighting key terms, or someone who wants to recognize important words at a glance, this plugin adapts to your workflow.


Color Anything, Exactly How You Want

Unified Color Picker

Color text, add highlights, or both, right from a simple modal. color picker modal with both panels

Customize your interface by hiding panels you don't need. color picker modal with single panel

Customizable Highlights

Make highlights look exactly how you imagine: adjust borders, rounded corners, transparency, and more. Plugin Settings Highlight Appearance Section

Custom CSS Styling

Take styling to the next level with per-entry and per-group custom CSS. When enabled, you can add advanced CSS to individual entries or entire word groups, including font size adjustments, gradients, and more. Works in both Live Preview and Reading Mode.

Your Color Palette

Replace default swatches with your favorite colors for instant access! Custom Swatches in Color Picker

Quick Actions

  • Quick Colors: Choose a text color and background color group that appears directly in the right-click menu. Quick Colors with Quick Styles

  • Quick Styles: Apply a highlight style to selected text. Each Quick Style can be set to apply as either Always Color Text or Inline HTML — name them differently to tell them apart. Quick Colors and Quick Styles

If Quick Colors are enabled, the style uses the selected Quick Color. If they are disabled, the style falls back to its own colors and inherits the styling from the first Quick Style entry. If no Quick Style exists, the default styling is applied.

Word Groups and Match Types can also be assigned to a Quick Style!


Smart Text Matching

Match Types

Control how text is matched with flexible, per-entry options:

  • Contains – matches anywhere in the word or text
  • Exact – matches the full word only
  • Starts with – matches text that begins with the entry
  • Ends with – matches text that ends with the entry

Color Targeting Modes

Choose exactly how your colors are applied with three targeting modes:

  • Color Text – Colors only the matched text (default)
  • Color Line – Colors the entire line containing the matched text
  • Color Next Line – Colors the line directly after the matched text

These modes give you precise control over how colors are applied, especially useful for complex documents with nested structures.

Per-Entry Configuration

Customize the styling and rules for each colored entry via "Edit Entry Details":

  • Case Sensitivity When enabled, matches respect letter casing. "art" matches "art" but not "Art" or "ART".

  • Highlight Styling Adjust borders, rounded corners, transparency, and more per entry. Edit Highlight Styling Modal

  • Inclusion / Exclusion Rules Exclude specific folders, files, or files with specific tags from coloring, or limit coloring to specific folders. Edit Entry Modal with Paths

Advanced Pattern Matching with Regex

Color complex patterns like dates, currencies, or specific text structures automatically: Regex examples showing dates and times

Built-in Regex Tester Test patterns instantly before applying them! The Regex Tester lets you preview matches and fine-tune expressions right in Obsidian. Regex Tester with Example

Ready-to-Use Presets Jumpstart your coloring with curated pattern collections:

  • Markdown Formatting – Headings, lists, tasks, comments, and links
  • Brackets – Color content inside [square], {curly}, (round), <angle>, and "double quote" brackets
  • Other Patterns – Dates, times, emails, @mentions, currencies, and measurements

Common patterns:

  • \b\d{4}-\d{2}-\d{2}\b → Dates like 2024-01-19
  • \bTODO|DONE|WIP\b → Status words
  • \$\d+\.\d{2} → Currency amounts

Blue Dates Example


Organize Your Colors

Centralized Word Management

All colored texts appear in settings with search and multiple sort options. Plugin Settings Always Colored Texts Tip: Right-click on any color picker to bring up the Color Picker Modal.

Switch styles seamlessly — changing from "Both" to "Highlight" and back retains your original colors. Right-click any entry to edit it, duplicate it, or open in Regex Tester for quick adjustments.

Word Groups

Entries can be added to a word group right from the Pick Color modal, and the word group can be set as active when you need it, otherwise kept inactive.

You can also set a match type and case sensitivity for all entries in a word group, and enable or disable entire word groups for specific folders or files with specific tags.

Note: Use / to target the root folder (whole vault) for Enable in/Disable in.

Word Group Styling

Style the word group itself — this styling applies to all entries within that group, including Custom CSS. Word Group Styling

Entry Filtering (Limit Input)

Use the limit input beside the search bar to instantly filter entries by type, match type, color target, or count.

Limit Input Example 1 Limit Input Example 2

Available limit filters:

Count & Display:

  • 0 → show all entries
  • N (number) → show only the last N entries

Filter by Type:

  • r → regex entries only
  • w → word entries only
  • c → colored text entries
  • h → highlighted entries
  • b → both text + highlight entries

Filter by Match Type:

  • e → exact match-type entries
  • sw → starts-with match-type entries
  • ew → ends-with match-type entries

Filter by Color Target:

  • ct → color text targeting entries
  • cl → color line targeting entries
  • cc → color next line targeting entries

Add to Existing Entry

Right-click any entry and choose "Add to Existing Entry" to add the selected text to that entry: Add to Existing Entry Modal

File & Folder Control

Use "Include" to color specific documents or "Exclude" to disable coloring in entire folders. Create rules based on tags — include or exclude files that contain specific tags (e.g., #private, #draft).

File & Folder Coloring Rules

Note: File-level rules override folder-level rules.


Automatic Backups

Never lose your color settings! The plugin can automatically back up all your configuration to a folder inside your vault.

  • Scheduled Backups: Hourly, daily, or weekly
  • One-Click Backup: Manually trigger a backup anytime
  • Overwrite Option: Replace the previous backup or keep multiple versions

Backups include all plugin data: colored texts, blacklists, file/folder rules, word groups, and settings. Restore via the "Import Data" button in settings.


Theme Compatibility

Light & Dark Mode Text Fixers

Ensure your colors look great in any theme!

  • Dark Mode Text Fixer: If you usually set colors in Light Mode, turn this on to automatically adjust dark text for readability in Dark Mode.
  • Light Mode Text Fixer: If you set colors in Dark Mode, turn this on to adjust light text for visibility in Light Mode.

Performance & Safety

Built-in Protection

  • Pattern validation automatically blocks problematic regex
  • Progressive loading colors visible content first
  • Memory monitoring prevents slowdowns
  • Active file only coloring for optimal performance

Optimization Settings

  • Lightweight Mode: Skips partial match expansion and uses a stricter match limit for maximum performance.
  • Smart Updates: Only updates active lines of the document to keep the editor responsive.
  • Word Completion Color: Renders text colors only after a space is typed, helps significantly with typing performance.

Real-World Uses

  • Status tracking: Color TODO, INPROGRESS, DONE in different colors
  • Writing projects: Highlight character names, locations, and key plot points
  • Learning & study: Make key terms and vocabulary stand out
  • Technical documentation: Color code warnings, notes, and important sections
  • Project management: Highlight priorities like !!!URGENT!!! or Low-Effort

Use case examples

Coloring Symbols Note: Coloring symbols affect word coloring, not just the symbol itself. Using symbols like + may trigger bullets so color \+ instead.


Installation

Available in Obsidian Community Plugins. Check Release Notes for updates and new features.

Questions or Suggestions?

Create a new issue here to report bugs or request new features! I love seeing new issues for me to fix \(≧ᗜ≦)/ and this plugin wouldn't have advanced so far without the feedback from users!!


Contributing Translations

Want to add your language to Always Color Text?

  1. Go to src/i18n/ and copy en.js.
  2. Rename it to your language code (like es.js, fr.js).
  3. Translate the values only, like this:
{
    "notice_import_completed": "ইম্পোর্ট সম্পন্ন",
    "key": "translation"
}
  1. Go to src/i18n.js and add your language code to the list of supported languages.
  2. Submit a pull request with your translation file in src/i18n/.

That's it! Your language will be available to all users.

Contributors

Thanks a lot to them for taking the time to translate Always Color Text!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
About Blank
a year ago by Ai-Jani
Customize the empty file (New tab) itself a little bit by adding "Commands" or "Open files". And edit these: Grouping, Set icon, Ask before execution, Register as a new command.
Animated Cursor
10 months ago by Kotaindah55
Simple yet smooth animated cursor.
Annotator
5 years ago by Elias Sundqvist
A plugin for reading and annotating PDFs and EPUBs in obsidian.
Autofit Tabs
a year ago by Bradley Wyatt
Obsidian Plugin that automatically adjusts tab header widths in real-time to perfectly fit each tab's title content while maintaining a clean, seamless interface that prevents awkward text truncation and ensures optimal readability of your document titles.
Canvas Picture in Picture
2 years ago by hypersphere
Click Hint
a year ago by kbwo
Code Preview
3 years ago by Hank
Obsidian code block render by file path
Code Styler
3 years ago by Mayuran Visakan
A plugin for Obsidian.md for styling codeblocks and inline code
Codeblock Customizer
3 years ago by mugiwara
Codeblock Customizer plugin for Obsidian
Color Palette
3 years ago by ALegendsTale
Create and insert color palettes into your notes.
Custom Classes
3 years ago by Lila Rest
A minimal Obsidian plugin that allows you to add your own HTML classes to chosen Markdown elements directly from your notes.
Double row toolbar
a year ago by Lorens Osman
Drag To Scroll
8 months ago by Constantine Sazonov
Adds drag-to-scroll functionality to Obsidian. Hold mouse button and drag - now you can scroll like on touch device!
Easy Keep View
a year ago by @tazihad
Google Keep style view plugin for Obsidian
Extended Markdown Syntax
a year ago by Kotaindah55
Extend your Markdown syntax using delimiters instead of HTML tags, such as underlining, superscript, subscript, highlighting, and spoiler.
FolderFile Splitter
a year ago by Xu Quan
GDScript Syntax Highlighting
2 years ago by RobTheFiveNine
Adds live GDScript syntax highlighting to code blocks in the Obsidian editor.
Highlightr
4 years ago by Chetachi
A minimal and aesthetically pleasing highlighting menu that makes color-coded highlighting much easier 🎨.
HiWords
7 months ago by Kai
Effortlessly grow your vocabulary as you read, with automatic highlighting and translation of unfamiliar words.
Image Border Style
a year ago by Anurag Shenoy
An Obisidian plugin to configure rounded borders for images (both in-editor and in reading-mode).
Keyword Highlighter
2 years ago by Marcel Goldammer
Automatically highlight specified keywords within your Obsidian notes for enhanced visibility and quick reference.
Limelight
5 years ago by Scott Mikula
Spotlight your active pane
Live Background
a year ago by Rememememe :3
A plugin that lets you style your notes with wallpapers (videos, GIFs, and images) with custom effects.
Long sentence highlighter
8 months ago by Robert Meißner
Mark Open Files
a year ago by Michael Schrauzer
Adds a marker to all the File Explorer items that are currently open in the Obsidian workspace.
Mobile Sidebar Notes
6 months ago by Chris Kephart
Open notes & new tabs in the sidebar on the Obsidian mobile app.
NerdFont Icon Picker
a year ago by Xaver Wenhart
a simple nerdfont icon picker for obsidian
Note Annotations
a year ago by Jan Beck
Occura
2 years ago by Alexey Sedoykin
Plugin for https://obsidian.md/ that automatically selected same text occurrences in opened note
PDF++
2 years ago by Ryota Ushio
PDF++: the most Obsidian-native PDF annotation & viewing tool ever. Comes with optional Vim keybindings.
Pin Enhancer
2 years ago by Sheeplet1
Rainbow-Colored Sidebar
a year ago by Kevin Woblick
Automatically color your sidebar like a rainbow. No configuration needed. 8 themes included.
Sentence Rhythm
a year ago by Adam Fletcher
Obsidian plugin added toggleable colored highlights to sentences based on their length
short tab name
2 years ago by Shumpei Tanaka
a plugin of obsidian for to change showing tab name to short
Sidebar Expand on Hover
5 years ago by Tousif Iqbal Anik (toiq)
This Obsidian plugin expands or collapses the sidebar based on mouse hovering on the ribbons.
Simple Colored Folder
a year ago by Mara-Li
Color each folder starting by their root. Allow to detecting root directly by obsidian ; and configuring using Style Settings.
Tab File Path
8 months ago by John Burnett
Tab Navigator
2 years ago by o02c
obsidian-tab-switcher