NAME

Intertangle::Taffeta::Color::RGBFloat - A floating point RGB colour

VERSION

version 0.001

EXTENDS

ATTRIBUTES

r_float

Red component as RGBFloatComponentValue.

g_float

Green component as RGBFloatComponentValue.

b_float

Blue component as RGBFloatComponentValue.

METHODS

rgb_float_triple

Returns a list of the float components (r_float, g_float, b_float).

svg_value

A Str representing the floating point RGB triple as a percentage RGB

  rgb(25%,50%,75%)

is the SVG value for

  Intertangle::Taffeta::Color::RGBFloat->new(
    r_float => 0.25,
    g_float => 0.50,
    b_float => 0.75,
  );

AUTHOR

Zakariyya Mughal <zmughal@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Zakariyya Mughal.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.