X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FColor.h;h=d67c4989a71e87b9719878ab054a023fd0b94b29;hb=869247b6;hp=57ae496831ab45edb7c22d9980165df507a5efdf;hpb=a4e03846cd4a5c369548e0913994e5f482a83277;p=features.git diff --git a/src/Color.h b/src/Color.h index 57ae496831..d67c4989a7 100644 --- a/src/Color.h +++ b/src/Color.h @@ -62,6 +62,10 @@ std::ostream & operator<<(std::ostream & os, Color color); std::string const X11hexname(RGBColor const & col); RGBColor rgbFromHexName(std::string const & x11hexname); std::string const outputLaTeXColor(RGBColor const & color); +/// Inverse of outputLaTeXColor +RGBColor const RGBColorFromLaTeX(std::string const & color); +/// Inverted color +RGBColor const inverseRGBColor(RGBColor color); } // namespace lyx