Please save your time and energy on this question, this is not an important one.
What's the color in the middle (or anywhere else) in these pictures? How to retrieve/compute that color to be used for drawing later?

\documentclass[a4paper]{article}
\pagestyle{empty}
\parindent=0pt
\usepackage{pgfplots}
\pgfplotsset{compat=1.10}
\usetikzlibrary{shadings}
\usetikzlibrary{pgfplots.colormaps}
\begin{document}
\centering
\begin{tikzpicture}
\begin{axis}[colormap={mal-map}{[1cm] rgb255(0cm)=(50,50,10) color(1cm)=(white) rgb255(5cm)=(200,100,150)}, colorbar horizontal, colorbar/width=2cm, hide axis]
%\addplot[mesh, point meta=y, line width=4mm, samples=150] {x^2}; % Some graph to show...
\end{axis}
\end{tikzpicture}\bigskip
\begin{tikzpicture}
\begin{axis}[colormap/bright, colorbar horizontal, colorbar/width=2cm, hide axis]
%\addplot[mesh, point meta=y, line width=4mm, samples=150] {x^2}; % Some graph to show...
\end{axis}
\end{tikzpicture}\bigskip
\begin{tikzpicture}
\shade[upper left=brown, upper right=yellow,
lower left=cyan, lower right=black!50]
(0,0) rectangle (4,4);
%\draw (0,0) grid (4,4); % help lines
\end{tikzpicture}\bigskip
\begin{tikzpicture}
\shade[ball color=red, opacity=0.50] (1,0) circle (2.0cm);
\shade[ball color=black, opacity=0.50] (0.5,0) circle (1.5cm);
%\draw (-1,-2) grid (3,2); % help lines
\end{tikzpicture}
\end{document}
I am aware of the \extractcolorspecs command from xcolor package, but this is not the case. First two pictures were prepared in pgfplots by using colormap/colorbar, next two were prepared in tikz by using \shade command from shadings library.
We tried to duplicate and use colors from the colorbar from specific locations, for more details about that experiment, please, see this question.
We could guess color in the first picture, sort of, we could compute color in the second picture, because we know the distance between two key colors. Well, it looks that the difficult cases are the remaining two. The third example uses both directions to place the colors (not only horizontal or vertical direction is used as seen on examples from pgfplots) and the last example uses opacity and layers. I was wondering if somebody needed to solve this problem.
There is a conversion from colormap to shadingspec, it is mentioned on page 173 of the pgfplots manual.
I was thinking of this command (if I omit opacity for a minute): \getmecolor{x-coordinate}{y-coordinate} and the result would be color in RGB or CMYK.
