pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

Color

There are 3 ways to specify a color:

  1. 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
    
  2. Via RGB hexadecimal values

    #RRGGBB
       
    eg. Red = #FF0000, Gray = #808080
    
  3. Via predefined color constant

     Black, White, Gray, LightGray, DarkGray, Red, Green, Blue