Change Text Color

Description : Change color of all instances of text within the given scope that match the given inputs. Required Inputs: hex code of desired color, Scope, Case sensitivity Optional Inputs: Text to Color, Target Font Name, Target Font Size, Various filters NOTE: Either Text to Color or Target Font Size must be provided, both may also be provided for additional specificity.


Author(s) : OmnesPotens, Omer Atay
Category : Color
Last Updated : April 07, 2018
Requirements : OneNote 2010 or above
Screenshot :

Change Text Color

Target Text to Color
Desired Color
Target Font Name
Target Font Size
Changelog :

April 07, 2018 (50A5ED) - OmnesPotens
Added naive check for hex color code input and updated macro description

April 07, 2018 (77F182) - OmnesPotens
Functional with or without "#" before hex color code. Can specify a Font Name now (case insensitive). Can specify various (non-strict) filters based on text-styling. Meaning specifying 2 filters will limit the coloring to text with those specific filters, but will also color text that has other text-styling applied. Example: 2 words are both underlined, but only one is italicized, all of them will be colored so long as either the underline or italic filter is set.

March 27, 2018 (CF6C91) - Omer Atay
Fixed an issue where macro will result in an error when the text to search is specified

March 24, 2018 (702ECE) - OmnesPotens
Initial Version


Omer Atay - 2018-08-29
Anonymous: Please collect macro logs and send a report. See
Anonymous - 2018-08-28
Getting no instances found:

-Tried Hex values with and without # (Matched by RGB value)
-Tried with and without defining Font and Font Size
-No other filters selected
Mi - 2018-07-09
I have no idea how to use it and not good for MACRO technical, may I know how to fill in the value? Thanks!