color could be HEX format instead avoids an another structure and weak impacts on the user dev. it's an idea :) https://github.com/readium/r2-navigator-js/blob/29582f17af7564e6dc9eb6dbb4e4e29b0c5842c0/src/electron/common/highlight.ts#L10