Fill cell with hex code color
NtsCiccio opened this issue · comments
Mauro Remondi commented
Hi, is possible to fill a Cell with an hex code color?
vandeseer commented
You can use Color.decode
for that:
TextCell.builder()
.text("...")
.textColor(Color.decode("#ff00ff"))
.backgroundColor(Color.decode("#111111"))
.build()`
Mauro Remondi commented
thanks again, is there another way to contact you without opening issues?
vandeseer commented
Hey, I suggest opening a question on stackoverflow tagging it with pdfbox and maybe mentioning easytable in the title or so. Then others can answer as well and the solution can be found easily, too.