# `recolor_vectors` Make non-image page content gray ## Usage > pdftl `` `recolor_vectors` `[...]` `output` `` ## Details The `recolor_vectors` operation converts color-setting instructions within PDF content streams. Currently it only supports grayscale conversion. The UI is expected to change. Note: This modifies vector path geometry, text coloring operators, and layout boundaries. Raster image payloads (XObjects) are skipped by this operation. ## Examples > Convert non-image elements on pages 1-3 to grayscale ``` pdftl in.pdf recolor_vectors 1-3 output out.pdf ``` > Convert non-image elements on all pages to grayscale ``` pdftl in.pdf recolor_vectors output out.pdf ``` **Tags**: in_place, content_stream, experimental *Source: pdftl.operations.recolor_vectors* *Read online: [https://pdftl.readthedocs.io/en/latest/operations/recolor_vectors.html](https://pdftl.readthedocs.io/en/latest/operations/recolor_vectors.html)* *Type: Operation*