Les couleurs sont des actes de la lumière, ses actes et ses souffrances. Ainsi considéré, on peut attendre d’eux une explication de la lumière elle-même
The cpthsv utility reads the RGB colour palette in the input, converts its colours to the HSV colour-space, modifies these values in some simple ways, then converts back to RGB colour space and outputs a cpt file. So cpthsv can (de)saturate, brighten, darken or hue-shift.
The program will read from
stdin if a file is not specified as
the final argument, and write to
stdout if the
-o option is not specified.
The hue value is taken to be between 0 and 360, while the saturation and value components are taken to be between 0 and 1,
Specify a file to which to write a formatted backtrace. The file will only be created if there is a backtrace created, typically when an error occurs.
formatof the backtrace written to the files specified by
--backtrace-file, one of
Write the output to
file, rather than
Specify a transformation to perform. One of
vfollowed by a
operation. The effect of the number depends on the operation: one of
%(scale by percentage) or
-(add or subtract value). An RGB colour with saturation 0.5 would be transformed to one with saturation 0.55 by applying
s0.05+. If the operator is not given then
Transforms which take colours outside the HSV colour-space are permitted, the result is truncation (eg, increasing a saturation of 0.8 with
s0.3+results in a saturation of 1.0). The exception is hue, which is taken modulo 360.
Multiple transforms can be applied by separating transforms with commas. This is to be preferred over multiple calls to the program since the conversion between colour-spaces is necessarily lossy. Multiple trnsformations are applied in the order given in the argument.