+ * hex name given \returns true if successful. A new color entry
+ * is created if the color is unknown. The optional third argument passes
+ * a color for dark mode.
+ */
+ bool setColor(std::string const & lyxname, std::string const & x11hexname,
+ std::string const & x11darkhexname = std::string());
+
+ /** set the given LyX color to a latexcolor if not yet defined
+ * \returns true if successful. A new color entry
+ * is created if the color is unknown.