How can i specify a rgb color in a color box? The color package also supports decimal values in the rgb color model that accepts integer values in the interval [0,255] On the other hand, xcolor offers much more features, so it's better to use it. I would like to check if a color is defined either passing the rgb numbers or a colorname to the key categorycolorprimary / categorycolorsecondary Using xstring doesnt feel right and i need to expand the argument. With \textcolor you can use an optional argument to specify a colour model
For instance to use an rgb colour without defining a named colour you can use (of course this also works with other colour models such as html) \documentclass[border=3.14]{standalone} \usepackage{color} \begin{document} \textcolor[rgb]{1,0,0}{my colored text} \end{document} I tried \\textcolor{orange}{text} but it gives slightly lighter color How can i get similar color as the above image text provably efficient exploration and function approximation? Inside the \makecvtitle macro you'll see the family/last name uses color2 while the first name uses color2!50 (50% of color2) In your other documents, add \usepackage{xcolor} \definecolor{color1}{rgb}{x,x,x} \colorlet{color2}{color1!50} to obtain two colours you can use
I have defined a new color with \definecolor{myblue}{rgb}{0.25,0.5,0.75} Is it possible to define now derivatives of this in term of shades I would like to use the same color in three different shades It is possible to do this with grey by default, but can i define one mu own Like \definecolor{nextblue}{mublue}{0.75} i use the xcolor package. In the file beamercolorthemedefault.sty you can find the color definition
\definecolor{beamer@blendedblue}{rgb}{0.2,0.2,0.7} \setbeamercolor{structure}{fg=beamer@blendedblue} and the structure color is used, for example, in \setbeamercolor{palette primary}{use=structure,fg=structure.fg} \setbeamercolor{titlelike}{parent=structure} \setbeamercolor{title}{parent=titlelike} \documentclass{beamer.
OPEN