[rrd-users] Alpha color RRDTool

Johan Elmerfjord jelmerfj at adobe.com
Wed May 17 10:45:47 CEST 2017


Hi,

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 “strong”.

Can you try it and see if that makes sense.

/Johan

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:

    Hi,
    
    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. (https://na01.safelinks.protection.outlook.com/?url=www.gnu.org%2Fcopyleft%2Fgpl.html&data=02%7C01%7C%7Ce880bd43e62c40ccd7ec08d49cf5a184%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636306026178600739&sdata=0e2HDxZMcKojJmjrYBsLsKzhXHYjhjrGtR%2FIdp4WdJo%3D&reserved=0)
    
    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.
    
    



More information about the rrd-users mailing list