Smartdiagram Package: Different Fill Color in Additionals

I'm using the smartdiagram package to draw a diagram, and I'm using additionals.

I would like use different fill colors for each of the additionals, but so far I couldn't figure out if this is possible.

Here is my MWE, where all the additionals are filled with gray!20

\documentclass{article}
\usepackage{tikz}
\usepackage{smartdiagram}

\begin{document}

\centering
\smartdiagramset{
set color list={red!10, red!30,red!50},
sequence item border color=black,
sequence item text color=black,
sequence item border size=1.2\pgflinewidth,
sequence item font size=\scriptsize\sffamily,
}
}
\smartdiagramadd[sequence diagram]{step 1,step 2, step 3}
{above of sequence-item1/input,below of sequence-item2/output 1,below of sequence-item3/output 2}

\end{document}


Is there any way of using different fill colors for annotations "input", "output 1" and "output 2"?

You could use a colorseries directly. For example:

\documentclass{article}
\usepackage[rgb]{xcolor}
\usepackage{tikz}
\usepackage{smartdiagram}
% xcolor manual: 34
\resetcolorseries[12]{colours}

\begin{document}

\centering
\smartdiagramset{
set color list={red!10, red!30,red!50},
sequence item border color=black,
sequence item text color=black,
sequence item border size=1.2\pgflinewidth,
sequence item font size=\scriptsize\sffamily,
}
}
\smartdiagramadd[sequence diagram]{step 1,step 2, step 3}
{above of sequence-item1/input,below of sequence-item2/output 1,below of sequence-item3/output 2}

• thanks @cfr. What if I need to use specific colors, for example ("yellow", "gray", "gray"). This kind of collections are not easy to obtain via \definecolorseries. – lorenae Jul 20 '16 at 14:11
• @lorenae No, sorry. My solution relies on the fact that for a colour series, you can use the special syntax from xcolor to both call the colour and change the colour to the next one in the series. But I don't see a straightforward way to specify the colours in a series explicitly. I guess to implement a loop, you'd have to figure out a way to adapt smartdiagram rather than looking at the colours. – cfr Jul 21 '16 at 12:06