NAME
Term::ANSIColor::Gradients - curated ANSI 256-color palette library
SYNOPSIS
use Term::ANSIColor::Gradients qw(list_groups) ;
my @groups = list_groups() ;
# or load a specific sub-module directly
use Term::ANSIColor::Gradients::Classic ;
for my $index (@Term::ANSIColor::Gradients::Classic::GRADIENTS{GREY}) {
print colored('█', "ansi$index") ;
}
DESCRIPTION
This distribution provides curated ANSI 256-color palettes organized into sub-modules by category. Each sub-module exports a %GRADIENTS hash that maps palette names to array-refs of ANSI 256-color indices (integers 0-255).
MODULES
Term::ANSIColor::Gradients::Classic - basic single-hue ramps
Term::ANSIColor::Gradients::Extended - heatmaps, scientific, artistic
Term::ANSIColor::Gradients::Scientific - perceptual and data-viz palettes
Term::ANSIColor::Gradients::Sequential - single-hue sequential ramps
Term::ANSIColor::Gradients::Diverging - bi-directional diverging palettes
Term::ANSIColor::Gradients::Accessibility - colorblind-safe palettes
Term::ANSIColor::Gradients::Artistic - decorative and creative palettes
FUNCTIONS
list_groups
my @groups = list_groups() ;
Returns the list of sub-module group names.
AUTHOR
Nadim Khemir <nadim.khemir@gmail.com>
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself (Artistic License 2.0 or GPL 3.0).
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 33:
Non-ASCII character seen before =encoding in 'colored('█','. Assuming UTF-8