# [pstricks] Need to fix the gray scale in gradient style by using PSTricks

Saravanan Murugaiah saravanan.murugaiah at gmail.com
Mon Sep 22 08:34:22 CEST 2014

```Dear All,

In my document, I require some text surrounded by a gradient box, below
mentioned my tags are working fine, but in PDF, the gradient color
percentage showed as CMYK combination, but I require the gradient ranges
only in black color

\RequirePackage{pstricks}

\makeatletter

\psframebox[framesep=0pt,

to 211\p@{\hsize=155.85mm\leftskip=54\p@\rightskip54\p@%
Test
}}
\makeatother

Kindly help us to meet my requirement.

Sincerely Yours,