Set Section Color

Description : Sets Section Color to selected color


Author(s) : Omer Atay
Category : Color
Last Updated : May 01, 2019
Requirements : OneNote 2010 or above
Screenshot :

Set Section Color

Changelog :

May 01, 2019 (EDDF0D) - Omer Atay
Updated with a color picker

October 11, 2016 (DB194B) - Omer Atay
Updated to display 25 predefined colors in addition to the ability to use color codes.

June 20, 2016 (C14D94) - Omer Atay
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

January 16, 2014 - Omer Atay
Initial version


Dmo - 2020-03-18
I have this macro and seems like the option to set a custom color by adding say 5882FA is not available.

The "Define Custom Colors" is shaded out.
Wadeen - 2019-12-26
Thank you for the latest improvements to this.  
It would be very helpful if there was a way to change the font color from black to white, when one selects the section color to be black.  Otherwise, the entire section heading is black, along with the font colors.  In other words, it is impossible to read the words of the section heading when one chooses black as a section heading color.  Is there a way to make the font color white when black or another very dark color is selected?  

Thank you in advance,

Ben Dupre
Jacki - 2018-08-29
Every time I use this to change the section color, it changes back to a random default color. If I change two sections to the same color they will randomly change to different default colors.