.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "colortest-python 1" .TH colortest-python 1 "2021-06-06" "colortest-python" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" colortest\-python \- Display color test chart and convert between color values .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& colortest\-python [options] .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" Displays 256, 88 and 16 color tables depending on what the terminal supports. Also provides for conversion between 256 and 88 color values. .PP The program automatically detects 8, 16, 88, 256 color capabilities (via ncurses) and displays the appropriate color charts. Program can display the colors as blocks or 2d cubes optionally with color values overlaid in int or hex values, it can show the full rgb text string and show the display with a vertical (default) or horizontal orientation. .PP In addition to the color charts it can also convert between 256 and 88 color values. This can be useful when converting various terminals like between urxvt and xterm\-256. .PP The goal of this program was to provide the functionality of all the various Perl and sh scripts in one place with some bells and whistles. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-b, \-\-block\fR" 4 .IX Item "-b, --block" Display as block format (vs cube) [default]. .IP "\fB\-c, \-\-cube\-slice\fR" 4 .IX Item "-c, --cube-slice" Display as cube slices (vs block). .IP "\fB\-e N, \-\-88to256=N\fR" 4 .IX Item "-e N, --88to256=N" Convert (expand) 88 color value N to an 256 color value. .IP "\fB\-f, \-\-foreground\fR" 4 .IX Item "-f, --foreground" Use color for foreground text. .IP "\fB\-l, \-\-rgb\fR" 4 .IX Item "-l, --rgb" Long format. \s-1RGB\s0 values as text. .IP "\fB\-n, \-\-numbers\fR" 4 .IX Item "-n, --numbers" Include color escape numbers on chart. .IP "\fB\-p, \-\-padding\fR" 4 .IX Item "-p, --padding" Add extra padding (helps discern colors). .IP "\fB\-r N, \-\-256to88=N\fR" 4 .IX Item "-r N, --256to88=N" Convert (reduce) 256 color value N to an 88 color value. .IP "\fB\-v, \-\-vertical\fR" 4 .IX Item "-v, --vertical" Display with vertical orientation [default]. .IP "\fB\-x, \-\-hex\fR" 4 .IX Item "-x, --hex" Include hex color numbers on chart. .IP "\fB\-z, \-\-horizontal\fR" 4 .IX Item "-z, --horizontal" Display with horizontal orientation. .IP "\fB\-\-version\fR" 4 .IX Item "--version" Show program's version number and exit .IP "\fB\-h, \-\-help\fR" 4 .IX Item "-h, --help" Display short help and exit. .SH "ENVIRONMENT" .IX Header "ENVIRONMENT" None. .SH "FILES" .IX Header "FILES" None. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBcolortest\-8\fR\|(1) \&\fBcolortest\-16\fR\|(1) \&\fBcolortest\-16b\fR\|(1) \&\fBcolortest\-16b\fR\|(1) .SH "AUTHORS" .IX Header "AUTHORS" Program was written by Thomas John Eikenberry .PP This manual page was written by Jari Aalto . Released under license \s-1GNU GPL\s0 version 3 or (at your option) any later version. For more information about license, visit .