A PDF processor written in Go.
View the Project on GitHub pdfcpu/pdfcpu
There are 3 ways to specify a color:
Via RGB float values
r,g,b with 0.0 <= r,g,b <= 1.0
eg. Red = 1.0, 0.0, 0.0, Gray = .5, .5, .5
Via RGB hexadecimal values
#RRGGBB
eg. Red = #FF0000, Gray = #808080
Via predefined color constant
Black, White, Gray, LightGray, DarkGray, Red, Green, Blue