cptcss (1) Linux Manual Page
NAME
cptcss – create CSS fragment for colouring HTML tables.
SYNOPSIS
-
cptcss[-h] [-fformat] [-v] [-V] [file]
DESCRIPTION
cptcss utility prints a fragment of CSS which can be used to colour the cells of an HTML table, the colours specified by a colour palette table (cpt) file.
The cpt file to use is specified by the final argument. If no cpt file is specified then the program will read from stdin. Output is written to stdout.
The input cpt should be a discrete (since the output CSS is) and each colour level in the file will lead to a CSS class directive for the <td> element. The class name can be modified from the default "cptcss-%i" by using the -f option.
OPTIONS
-h, –help
- Brief help.
-f, –format string
- The format to use for the <td> class name, which should include a single integer specifier "%i" which will enumerate the classes. The default value is "cptcss-%i".
-v, –verbose
- Verbose operation.
-V, –version
- Version information.
AUTHOR
J.J. Green
