Hi All,
In my application i am using Spreadsheet::Excel gem for export to excel.
Is it possible to set color of a row using color code instead of using
exact color name like below
h1 = Spreadsheet::Format.new(
:color => "green",
:bold => true,
:size => 15,
:pattern_fg_color => "yellow",
:pattern =>
1 )
when i use like below
h1 = Spreadsheet::Format.new(
:color => "green",
:bold => true,
:size => 15,
:pattern_fg_color => "#00FFFF",
:pattern =>
1 )
it gives me error like invalid color..
so how i can specify color code ....
Kindly let me know your suggestions.
Thanks for your time.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.