Convert PDF Colors

Convert PDF Colors is a REST API tool offering precise document color control through custom ICC profiles and a library of print, screen, web, and grayscale presets.

A bubbling flask with code brackets inside
Try Now with API Lab

Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!  

to receive your free API Key.
Parameters
Required Parameters
POST
/pdf-with-converted-colors
curl -X POST "https://api.pdfrest.com/pdf-with-converted-colors" \ 
  -H "Accept: application/json" \ 
  -H "Content-Type: multipart/form-data" \
  -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
  
Response
The response for your API Call will display here.
Once you've sent your POST request and received a valid response, you can download your output file using the output URL.

Why is pdfRest the best API to convert PDF Colors?

pdfRest offers the best solution for converting PDF colors, because it offers unmatched control, flexible color space transformations, and efficient preset profiles.

Choose from Preset Color Profiles

Streamline your workflows and achieve consistent color conversion with our library of 14 convenient, preset color profiles.

Whether you need to optimize for high-quality print production (profiles like acrobat5-cmyk, acrobat9-cmyk), vibrant screen viewing (srgb, monitor-rgb), web publishing (color-match-rgb), or specific grayscale needs (gamma-18, gamma-22, dot-gain-10 to dot-gain-30), we have the perfect profile for your needs.

Simply select the desired option, and pdfRest handles the conversion, saving you valuable time and ensuring consistent results.

Custom Color Control

Go far beyond basic RGB, CMYK, or grayscale conversion and achieve precise control over your document's color profile. With pdfRest Convert PDF Colors, you are not limited to pre-defined options.

Upload your own custom ICC profile to ensure perfect color matching for specific printing presses, design software, or brand guidelines. This meticulous level of control allows you to tailor your document's appearance to any unique color requirement.

Transform Colors from Any Source

pdfRest Convert PDF Colors eliminates the need to worry about your document's original color space. Whether your PDF starts in RGB, CMYK, LAB, or any other format, our API Tool will reliably convert it to your desired color output.

This flexibility saves you time and ensures consistent color output regardless of the source file. Leave your compatibility issues behind with your new one-stop shop for all PDF color conversions.

Start from Code Examples
  1. First, you'll need an API Key - to:
    • Stay anonymous with a Guest API Key for 10 free API Calls
    • Sign up for an upgraded API Key with unlimited, continuous service
  2. Choose your programming language
  3. Copy and paste the code to your project
  4. Update Api-Key field with your unique API Key
  5. Update file with the local path to your input
  6. Run this code to send an API Call
See more code examples in our
GitHub repository
Try pdfRest with just a few clicks
Download our Postman Postman Collection
Customize Your Solution
color_profile
Choose from any of the preset color profiles, or select "custom" to supply an ICC color profile:
  • lab-d50 - L*a*b color specification with a D50 white point. The Lab color space is based on the CIE XYZ color space, but it includes a dimension L, for lightness, along with a and b coordinates, to define the color. This is Adobe Systems’ standard Lab profile.
  • srgb - Standard RGB, the default profile for Windows monitors.
  • apple-rgb - Apple RGB, the default profile for Mac monitors
  • color-match-rgb - Color Match RGB. This is a simpler version of the Radius ColorMatch RGB space, without the non-zero black point.
  • gamma-18 - Gray Gamma 1.8, grayscale display profile, used for content viewed on a monitor
  • gamma-22 - Gray Gamma 2.2
  • dot-gain-10 - Grayscale printer profile, with dot gain 10%. Dot gain is commonly used in offset printing to define the increase in size in halftone dots in the printing process, making a printed document look darker than intended.
  • dot-gain-15 - Dot gain 15%
  • dot-gain-20 - Dot gain 20%
  • dot-gain-25 - Dot gain 25%
  • dot-gain-30 - Dot gain 30%
  • monitor-rgb - RGB Monitor, referring to a monitor that requires separate signals for the three primary colors.
  • acrobat5-cmyk - Adobe Reader 5 CMYK
  • acrobat9-cmyk - Adobe Reader 9 CMYK
  • custom - supply a custom ICC color profile with either the profile or profile_id parameter
Generate a self-service API Key now!

Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.

Compare Plans
Contact Us