I'm using the xcolor package, and for changing the color of any selected of any figure or table in the document I use.
\captionsetup[figure]{labelfont={color=blue},font={color=blue}}
but this did not work with the table!
Any suggestion would be highly appreciated.
Here is a sample of the code of the table where the caption color needed to be changed (caption:label and description).
\captionsetup[table]{labelfont={color=blue},font={color=blue}}
\begin{table}[!ht]
\caption{Caption of the table \label{table:test table}}
\end{table}
\clearcaptionsetup{table}

[figure], so the setting is done for all captions. – egreg Jan 27 '18 at 23:52