# perldoc > Pod::Text::Color

---
type: CommandReference
command: Pod::Text::Color
mode: perldoc
section: 3pm
source: perldoc
---

## Quick Reference

- `Pod::Text::Color->new(sentence => 0, width => 78)` — create a new color POD parser
- `$parser->parse_from_filehandle` — read POD from STDIN, write colorized text to STDOUT
- `$parser->parse_from_file('file.pod', 'file.txt')` — read POD from a file, write output to another file

## Name

Convert POD data to formatted color ASCII text

## Synopsis

perl
use Pod::Text::Color;
my $parser = Pod::Text::Color->new(sentence => 0, width => 78);

# Read POD from STDIN and write to STDOUT.
$parser->parse_from_filehandle;

# Read POD from file.pod and write to file.txt.
$parser->parse_from_file('file.pod', 'file.txt');
## Options

This module inherits all options from [Pod::Text](https://perldoc.perl.org/Pod::Text). See the Pod::Text documentation for details on available options.

The module uses [Term::ANSIColor](https://perldoc.perl.org/Term::ANSIColor) to generate ANSI color escape sequences; that module must be installed.

## Examples

perl
use Pod::Text::Color;
my $parser = Pod::Text::Color->new;
$parser->parse_from_file('documentation.pod', 'output.txt');
## See Also

- [Pod::Text](https://perldoc.perl.org/Pod::Text) — base class for POD-to-text conversion
- [Pod::Simple](https://perldoc.perl.org/Pod::Simple) — underlying POD parsing framework
- [Term::ANSIColor](https://perldoc.perl.org/Term::ANSIColor) — ANSI color terminal support
- Module homepage: <https://www.eyrie.org/~eagle/software/podlators/>
- Also part of the Perl core distribution since 5.6.0