Last post Aug 31, 2012 06:58 AM by prabu.raveendran
Aug 30, 2012 12:17 PM|vpraveenkumar|LINK
i m now working in itextsharp pdf generation. Here i hav one pbm to produce color in RGB ratio or Hexadecimal code, i used BaseColor class in itextsharp pdf generation my code is here....
public BaseColor col(string value)
if (value == "3")
else if (value == "2")
else if (value == "1")
else if (value == "")
in this code i hav to fetch this color #56670B code to replace my yellow color ie.,BaseColor.YELLOW to #798F10 this color.
i tried so many but BaseColor class not support that .... help me to fetch this code in BaseColor class
or if u know any way to this color in RGB ratio (121,143,16) = #798F10 i need any one way please help me.
please help if u really know its urgent ans me......
Aug 31, 2012 06:58 AM|prabu.raveendran|LINK
Try like this,
return new BaseColor(121,143,16);