Package Info

perl-Graphics-ColorUtils


Easy-to-use color space conversions and more


Development/Libraries/Perl

This modules provides some utility functions to handle colors and color space conversions.

The interface has been kept simple, so that most functions can be called "inline" when making calls to graphics libraries such as GD, Tk, or when generating HTML/CSS. (E.g. for GD: '$c = $img->colorAllocate( hsv2rgb( 270, 0.5, 0.3 ) );'.)

Features:

  • Color Space Conversions

    Color space conversions, in particular between the "intuitive" color spaces HSV (Hue/Saturation/Value) and HLS (Hue/Lightness/Saturation) to and from RGB (Red/Green/Blue).

  • Color Lookup

    Color lookup by name for three standard sets of colors: WWW/CSS, SVG, and X11.

  • Color Gradients

    Management of color gradients, which can be indexed by a floating point number in the range 0..1. (Mostly intended for false-color data visualization.)


License: GPL-1.0-or-later OR Artistic-1.0
URL: http://search.cpan.org/dist/Graphics-ColorUtils/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.17-bp155.2.10 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Graphics-ColorUtils
0.17-bp154.1.19 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Graphics-ColorUtils
0.17-bp153.1.14 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Graphics-ColorUtils
0.17-bp152.1.9 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Graphics-ColorUtils