NAME
Data::URIID::Colour - Extractor for identifiers from URIs
VERSION
version v0.08
SYNOPSIS
use Data::URIID::Colour;
my $colour = Data::URIID::Colour->new(rgb => '#FF0000');
METHODS
new
my $colour = Data::URIID::Colour->new( option => value, ... );
Returns a new object for the given colour. The following options are defined:
rgb
-
The RGB value in hex notation. E.g.
#FF0000
.
rgb
my $rgb = $colour->rgb;
Returns the colour in six digit hex notation with prepended pound (#
) if successful or die
otherwise. The returned value is suitable for use in CSS.
ise
my $ise = $colour->ise;
This method will return the ISE of the colour if successful or die
otherwise.
AUTHOR
Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2023-2024 by Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)