Count color pages in a PDF
Counting color pages means finding out which pages of a PDF actually contain color content and which are true black-and-white, so you only pay color-printing rates for the pages that need them. This tool renders every page in your browser, counts pixels whose RGB channels diverge beyond a threshold, and reports each page's colored-area percentage, a color/black-and-white verdict, and the exact page list to paste into a printer's "print pages in color" field — plus a CSV export.
How it works
Every page is rendered to an off-screen bitmap using the browser's PDF rendering engine, then the tool walks the pixel data. The test for "colored" is channel spread: for each pixel it takes the difference between the largest and smallest of the red, green and blue values. A neutral pixel — black text, white paper, any gray — has all three channels equal, so its spread is zero; a colored pixel has unequal channels, and the bigger the spread, the more saturated the color. Pixels whose spread exceeds the detection threshold are counted, and the count divided by the page's total pixels gives the colored-area percentage.
The threshold exists because real documents are noisy. A crisp digital text page measures a spread of 0 on essentially every pixel, but a scanned "black-and-white" page rarely does: cream paper, scanner color casts and JPEG compression artifacts give many pixels a small nonzero spread. The threshold ignores that noise floor while still catching a logo, a chart line or a highlighted cell. If a scan still trips the detector, the per-page percentage tells you why — a page reported as 0.2% colored is carrying a tint, while a page at 12% has an actual photograph or chart on it.
The output is organized around the thing you actually type into a print dialog: alongside the per-page table and verdicts, the tool assembles the color pages into a compact comma-and-range list like 1,4,9-12,17. Print that selection as one color job and everything else as a black-and-white job, or hand both lists to a copy shop. Note what this is not: the analysis works on the rendered composite image, not on CMYK plate separations, so it answers "which pages need a color pass" rather than "how much cyan will the press use" — for per-page ink estimates see the ink coverage calculator.
Illustrative example: a 48-page course reader
Illustrative scenario, not a recorded benchmark. File sizes, timings and results depend on the input and device. Try the reproducible samples.
A 48-page course reader (11 MB) goes to a copy shop that charges $0.59 per color page and $0.08 per black-and-white page. Printing everything in color would cost $28.32. The detector renders all 48 pages in about 20 seconds and reports six color pages — the cover (31.4% colored area), four pages with charts (3.1–8.7%) and one page with a highlighted table (1.2%) — and outputs the list 1,7,13,14,22,36. Two flagged-looking scans came back black-and-white because their colored area was under the threshold, correctly identified as scanner cast. Printed as a 6-page color job plus a 42-page mono job, the reader costs $6.90 instead of $28.32 — a 76% saving the CSV can document for reimbursement.
Frequently asked questions
How does the tool decide a page is color and not black-and-white?
Each page is rendered to pixels, and a pixel counts as colored when the spread between its red, green and blue values exceeds a threshold — grays have equal channels, so they never trigger it. A page whose colored-pixel share passes the page threshold gets a color verdict.
What do I do with the reported page list?
Paste it into your print dialog. Print the color list (for example 1,4,9-12) in one job with color enabled, then the remaining pages in a second job in black and white — most drivers and copy-shop order forms accept exactly this comma-and-range format.
Why does a page that looks black-and-white get flagged as color?
Scans and photos of monochrome documents usually contain slight color casts — off-white paper, bluish shadows — that give pixels unequal RGB channels. Raise the detection threshold to ignore faint tints, or check the reported colored-area percentage: a flagged page at 0.3% is a cast, not real color content.
Does this measure CMYK plates the way a print shop does?
No. It analyzes the rendered composite RGB image, not the separated cyan, magenta, yellow and black plates a press RIP reports. It answers the practical question — which pages need color output — rather than producing prepress separation data.
Can I export the per-page results?
Yes, a CSV download lists every page with its colored-area percentage and verdict. It is handy for cost quotes where color pages are billed at a different rate than black-and-white ones.