Flag --group-highlights-by-color produces heading with color code (eg. ### Color: 69aff0). It would be great enhancement to produce human readable color definitions of highlights (eg. Blue if there's more than one yellow, Cornflower Blue). I think I'm not alone in grouping my highlights by what they represent (idea, action etc.).
This could be accomplished by calculating euclidean distance of annotation rgb values to a set of predefined colors, something simple like
Black #000000 (0,0,0)
Red #FF0000 (255,0,0)
Blue #0000FF (0,0,255)
Yellow #FFFF00 (255,255,0)
Green #008000 (0,128,0)
Purple #800080 (128,0,128)
And for each group of annots there'd be a need to calculate only once.
Flag
--group-highlights-by-colorproduces heading with color code (eg.### Color: 69aff0). It would be great enhancement to produce human readable color definitions of highlights (eg.Blueif there's more than one yellow,Cornflower Blue). I think I'm not alone in grouping my highlights by what they represent (idea, action etc.).This could be accomplished by calculating euclidean distance of annotation rgb values to a set of predefined colors, something simple like
And for each group of annots there'd be a need to calculate only once.