[rrd-users] Alpha color RRDTool
tobi at oetiker.ch
Wed May 17 14:24:53 CEST 2017
as it sais in the documentation ...
color is composed from three hexadecimal numbers specifying the rgb color components (00 is off, FF is maximum) red, green and blue followed by an optional alpha.
----- On May 17, 2017, at 10:45 AM, Johan Elmerfjord jelmerfj at adobe.com wrote:
> Have not looked at the code – or document.
> But what if the Alpha is to the end.
> #519933 is "green" but #005199 is blue - and with a alpha of 33 – it will be
> quite light-blue (as in your graph)
> #8C1DA2 is "purple", but #008C1D is green - and with alpha A2 it will be quite
> Can you try it and see if that makes sense.
> On 2017-05-17, 09:22, "rrd-users on behalf of Willsz.net"
> <rrd-users-bounces+jelmerfj=adobe.com at lists.oetiker.ch on behalf of
> willsznet at gmail.com> wrote:
> I've some questions about alpha color in rrdtool produced:
> root:~# uname -sr
> FreeBSD 9.3-STABLE
> root:~# rrdtool -v
> RRDtool 1.6.0 Copyright by Tobias Oetiker <tobi at oetiker.ch>
> Compiled Nov 6 2016 07:32:26
> Usage: rrdtool [options] command command_options
> Valid commands: create, update, updatev, graph, graphv, dump, restore,
> last, lastupdate, first, info, fetch, tune
> resize, xport, flushcached
> RRDtool is distributed under the Terms of the GNU General
> Public License Version 2.
> For more information read the RRD manpages
> We've attached pcol-day.png for more clearly, here snapshoot my code:
> AREA:PCOL#00519933:"" \
> #519933 is "green" color. But #00519933 is "blue" in my view. AFAIK, in
> XML Android #00519933 should be "green light" in my view. Another case,
> #8C1DA2 is "purple", but #008C1DA2 produced "green". How to determine
> alpha color in rrdtool?
> Thank you.
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch tobi at oetiker.ch +41 62 775 9902
More information about the rrd-users