Ubuntu Manpages

Graphics::ColorNames::X

X-Windows color names and equivalent RGB values

  require Graphics::ColorNames::X;
  $NameTable = Graphics::ColorNames::X->NamesRgbTable();
  $RgbBlack  = $NameTable->{black};

This module defines color names and their associated RGB values used in X-Windows (from the X-Windows "rgb.txt" file).

Graphics::ColorNames, rgb.txt

Robert Rothenberg <rrwo at cpan.org>

Steve Pomeroy <steve_x at earthling.net> -- fixed the broken color definitions

Copyright (c) 2001-2008 Robert Rothenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.