OCR

found a package (balarewa.pdf.activities) that can extract text colors. Here’s the link :