=head1 NAME

Gtk2::Gdk::Color

=for position DESCRIPTION

=head1 DESCRIPTION

Gdk's colors are 16-bit RGB values -- that is, the red, green, and blue
components are integer values from 0 to 65535, with 65535 meaning full
saturation.  If you are used to dealing with colors on the range of 0 to
255, just scale those numbers by a factor of 257 (yes, 257!).

=cut



=head1 HIERARCHY

  Glib::Boxed
  +----Gtk2::Gdk::Color


=head1 METHODS

=head2 color = Gtk2::Gdk::Color-E<gt>B<new> ($red, $green, $blue)

=over

=over

=item * $red (unsigned) 

=item * $green (unsigned) 

=item * $blue (unsigned) 

=back

=back

=head2 unsigned = $color-E<gt>B<blue> 

=over

=back

=head2 boolean = $colora-E<gt>B<equal> ($colorb)

=over

=over

=item * $colorb (Gtk2::Gdk::Color) 

=back

=back

=head2 unsigned = $color-E<gt>B<green> 

=over

=back

=head2 integer = $colora-E<gt>B<hash> 

=over

=back

=head2 color = Gtk2::Gdk::Color-E<gt>B<parse> ($spec)

=over

=over

=item * $spec (string) 

=back

=back

=head2 unsigned = $color-E<gt>B<pixel> 

=over

=back

=head2 unsigned = $color-E<gt>B<red> 

=over

=back

=head2 string = $color-E<gt>B<to_string> 

=over

Since: gtk+ 2.11

=back


=head1 SEE ALSO

L<Gtk2>, L<Glib::Boxed>

=head1 COPYRIGHT

Copyright (C) 2003-2007 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

