[et-mgmt-tools] [PATCH 8/9]: virt-manager: color sparkline for rx/tx, read/write

Daniel P. Berrange berrange at redhat.com
Mon Oct 6 11:04:27 UTC 2008


On Sat, Oct 04, 2008 at 10:29:22PM +0200, Guido G?nther wrote:
> Color the rx and read sparclines red, the tx and write sparcline green.

Using pure red + green with same overall colour intensity isn't good
for color-blindness, particularly since we're using a gray background

> +        self.disk_io_graph.set_property("rgb", [1.0, 0.0, 0.0,
> +                                                0.0, 1.0, 0.0])

It'll take a little playing around to get a good colour pair which
works on a gray background, and is also color anomoly-safe. There's
a really neat DHTML webpage for just this purpose though

   http://www.colorjack.com/sphere/

I'd pick 'Complementary' or one of the 'Split Complementary' variants
and then drag around the dots till you find a pair of suitable colors,
which also look reasonably distinctive when you select the various
color anomologies.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the et-mgmt-tools mailing list