# Is there a way to color text rows in pdf/writer?

**URL:** <https://www.ruby-forum.com/t/is-there-a-way-to-color-text-rows-in-pdf-writer/119650>\
**Category:** Rails\
**Created:** [November 8, 2007, 9:40pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-color-text-rows-in-pdf-writer/119650 "2007-11-08T21:40:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nephish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@nephish](https://www.ruby-forum.com/u/nephish)\
**Post date:** [November 8, 2007, 9:40pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-color-text-rows-in-pdf-writer/119650/1 "2007-11-08T21:40:53Z")

</div>

hey there all,

i am using ruby to make some pdf charts, but there is also a data  
table i  
need to put in there.  
i am using pdf/writer and so far so good, but i can’t find anywhere  
that i  
can change the color of the table text. I know that i can use  
text\_color to change the text color  
of the whole table, but i need one row to be red, one blue etc…  
Anyone help me out on this?

thanks
