NAME

SDL2::Color - RGBA color structure

SYNOPSIS

    use SDL2 qw[:all];
	my $orange = SDL2::Color->new( { r => 255, g =>167, b => 0, a => 255 } );

DESCRIPTION

This class represents a single RGBA color.

Fields

r - red
g - green
b - blue
a - alpha

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.

AUTHOR

Sanko Robinson <sanko@cpan.org>