Closed ouboub closed 11 months ago
If you open the colour palette, you will see that the colour has been loaded:
However, it's not currently possible to use custom colours using commands like \color
, etc. You can only use the colours from the colour palette. This is due to a limitation in KaTeX (#202).
Note that you cannot use the HTML
colour format yet in quiver, not are decimal points accepted in the RGB
specification. It's also not necessary to use \ProvidesPackage
or \usepackage{xcolor}
(though it's also harmless to write them). E.g. you could just use:
\newcommand{\farbboxed}[2]{\fcolorbox{black}{#1}{$\displaystyle#2$}}
\definecolor{DarkOrange}{rgb}{1.000000,0.549020,0.000000}
\definecolor{orange}{RGB}{255,127,0}
\definecolor{Melon}{rgb}{0.972549,0.619607,0.482352}
If you open the colour palette, you will see that the colour has been loaded: However, it's not currently possible to use custom colours using commands like
\color
, etc. You can only use the colours from the colour palette. This is due to a limitation in KaTeX (#202).Note that you cannot use the
HTML
colour format yet in quiver, not are decimal points accepted in theRGB
specification. It's also not necessary to use\ProvidesPackage
or\usepackage{xcolor}
(though it's also harmless to write them). E.g. you could just use:\newcommand{\farbboxed}[2]{\fcolorbox{black}{#1}{$\displaystyle#2$}} \definecolor{DarkOrange}{rgb}{1.000000,0.549020,0.000000} \definecolor{orange}{RGB}{255,127,0} \definecolor{Melon}{rgb}{0.972549,0.619607,0.482352}
thanks for this explanation, in that case, I will then stick to the predefined colors, since the diagram I produce is not going to be published anywhere
Hi
I put my local compiled quiver in a directory my local Apache Server can read and load the following macro file via http://localhost/quiver/src/style/quiver-macros.sty
however the color Melon is not displayed I tried HEX and rgb what do I miss?