Alex Rivera | Logout

Set the font color in prawn

Asked 2010-01-07T10:26:24.983
15

Im using prawn to generate a PDF output in a rails app. How do i change the color of the outputted text?

Edit
Report

1 Answer

3

Note that you can also set a CMYK color (in this example 100% key black):

fill_color(0,0,0,100)
answered 2010-05-27T06:42:18.630

Your Answer