How do I extract the colours from a PDF? The Next CEO of Stack OverflowExtract graphs from PDFsHow can I list LS_COLORS in colour?tmux, TERM and 256 colours supportExtract bookmarks from a pdf and add them to another in gs?Unix way to extract vectorised image and its graph from a PDF file?What are GNU/Linux tools for checking PDF documents before publishing?Does a PDF file need execution permissions?Zathura shortcut/feedkeys configuration for recolouringpdf-files: results of “pdfid”

Would a galaxy be visible from outside, but nearby?

Is it possible to search for a directory/file combination?

How to safely derail a train during transit?

Is it professional to write unrelated content in an almost-empty email?

Why do airplanes bank sharply to the right after air-to-air refueling?

Won the lottery - how do I keep the money?

Is there an analogue of projective spaces for proper schemes?

Are there any limitations on attacking while grappling?

Can you replace a racial trait cantrip when leveling up?

Has this building technique been used in an official set?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Bold, vivid family

If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?

What is the result of assigning to std::vector<T>::begin()?

Does it take more energy to get to Venus or to Mars?

Why does the UK parliament need a vote on the political declaration?

Why do remote companies require working in the US?

Indicator light circuit

How does the mv command work with external drives?

Make solar eclipses exceedingly rare, but still have new moons

If a black hole is created from light, can this black hole then move at speed of light?

Can we say or write : "No, it'sn't"?

Is "for causing autism in X" grammatical?

How to start emacs in "nothing" mode (`fundamental-mode`)



How do I extract the colours from a PDF?



The Next CEO of Stack OverflowExtract graphs from PDFsHow can I list LS_COLORS in colour?tmux, TERM and 256 colours supportExtract bookmarks from a pdf and add them to another in gs?Unix way to extract vectorised image and its graph from a PDF file?What are GNU/Linux tools for checking PDF documents before publishing?Does a PDF file need execution permissions?Zathura shortcut/feedkeys configuration for recolouringpdf-files: results of “pdfid”










6















I have a PDF and I want to verify the colours being used (check that they match our corporate colour scheme for instance). Specifically, I want to check that the correct CMYK colours are being used.



How could I go about doing that?










share|improve this question
























  • What do you mean with verify?

    – Bernhard
    Oct 17 '12 at 10:45











  • @Bernhard I want to check a PDF is using the corporate colours.

    – Alex Chamberlain
    Oct 17 '12 at 10:53






  • 1





    Maybe use gcolor and click on the texts?

    – daisy
    Oct 17 '12 at 23:44















6















I have a PDF and I want to verify the colours being used (check that they match our corporate colour scheme for instance). Specifically, I want to check that the correct CMYK colours are being used.



How could I go about doing that?










share|improve this question
























  • What do you mean with verify?

    – Bernhard
    Oct 17 '12 at 10:45











  • @Bernhard I want to check a PDF is using the corporate colours.

    – Alex Chamberlain
    Oct 17 '12 at 10:53






  • 1





    Maybe use gcolor and click on the texts?

    – daisy
    Oct 17 '12 at 23:44













6












6








6








I have a PDF and I want to verify the colours being used (check that they match our corporate colour scheme for instance). Specifically, I want to check that the correct CMYK colours are being used.



How could I go about doing that?










share|improve this question
















I have a PDF and I want to verify the colours being used (check that they match our corporate colour scheme for instance). Specifically, I want to check that the correct CMYK colours are being used.



How could I go about doing that?







colors pdf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 17 '12 at 22:30









Gilles

545k12811071622




545k12811071622










asked Oct 17 '12 at 10:02









Alex ChamberlainAlex Chamberlain

1,44221323




1,44221323












  • What do you mean with verify?

    – Bernhard
    Oct 17 '12 at 10:45











  • @Bernhard I want to check a PDF is using the corporate colours.

    – Alex Chamberlain
    Oct 17 '12 at 10:53






  • 1





    Maybe use gcolor and click on the texts?

    – daisy
    Oct 17 '12 at 23:44

















  • What do you mean with verify?

    – Bernhard
    Oct 17 '12 at 10:45











  • @Bernhard I want to check a PDF is using the corporate colours.

    – Alex Chamberlain
    Oct 17 '12 at 10:53






  • 1





    Maybe use gcolor and click on the texts?

    – daisy
    Oct 17 '12 at 23:44
















What do you mean with verify?

– Bernhard
Oct 17 '12 at 10:45





What do you mean with verify?

– Bernhard
Oct 17 '12 at 10:45













@Bernhard I want to check a PDF is using the corporate colours.

– Alex Chamberlain
Oct 17 '12 at 10:53





@Bernhard I want to check a PDF is using the corporate colours.

– Alex Chamberlain
Oct 17 '12 at 10:53




1




1





Maybe use gcolor and click on the texts?

– daisy
Oct 17 '12 at 23:44





Maybe use gcolor and click on the texts?

– daisy
Oct 17 '12 at 23:44










3 Answers
3






active

oldest

votes


















4














You can import the PDF file into a software like Inkscape and there you can do what you want, including a color check.






share|improve this answer























  • Unfortunately, Inkscape doesn't support CMYK colours, though Scribus does. This is great for smaller documents, but not for bigger ones. My PC hasn't got loads of memory, so it would be better using a CLI.

    – Alex Chamberlain
    Oct 17 '12 at 13:05












  • A cli utility is definitely needed. A 'pdfcolors' program which would just list the colours used in whatever form they are expressed (rgb, cmyk) and perhaps with -verbose, list them per page.

    – Peter Flynn
    Mar 27 '17 at 20:28


















3














Maybe identify from imagemagick suite will fit your needs?



Use it with -verbose switch to get information about colors:



identify -verbose file.pdf





share|improve this answer























  • Note: you will need to install ghostscript in order for this command to work; otherwise, it will fail silently

    – William Entriken
    Dec 24 '15 at 16:27











  • Although it fails silently, that fact is documented at imagemagick.org/script/formats.php

    – William Entriken
    Dec 24 '15 at 16:28











  • The identify command lists the gamut (the range of colour values) but does not identify the individual rgb or cmyk values used.

    – Peter Flynn
    Mar 27 '17 at 20:26


















0














The GIMP can easily tell you the RGB or CMYK values of any color in a pdf. When you open the pdf, it will offer to treat each page as a layer. That's fine, you just need to select each layer as you look at it and make each layer above it invisible.



Then use the color picker tool (eyedropper icon) to click on any color in the pdf. It will automatically select it for the foreground, but you can check the option to "[] use info window" to see RGB, CMYK, HSV, etc on whatever you select.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f52064%2fhow-do-i-extract-the-colours-from-a-pdf%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    You can import the PDF file into a software like Inkscape and there you can do what you want, including a color check.






    share|improve this answer























    • Unfortunately, Inkscape doesn't support CMYK colours, though Scribus does. This is great for smaller documents, but not for bigger ones. My PC hasn't got loads of memory, so it would be better using a CLI.

      – Alex Chamberlain
      Oct 17 '12 at 13:05












    • A cli utility is definitely needed. A 'pdfcolors' program which would just list the colours used in whatever form they are expressed (rgb, cmyk) and perhaps with -verbose, list them per page.

      – Peter Flynn
      Mar 27 '17 at 20:28















    4














    You can import the PDF file into a software like Inkscape and there you can do what you want, including a color check.






    share|improve this answer























    • Unfortunately, Inkscape doesn't support CMYK colours, though Scribus does. This is great for smaller documents, but not for bigger ones. My PC hasn't got loads of memory, so it would be better using a CLI.

      – Alex Chamberlain
      Oct 17 '12 at 13:05












    • A cli utility is definitely needed. A 'pdfcolors' program which would just list the colours used in whatever form they are expressed (rgb, cmyk) and perhaps with -verbose, list them per page.

      – Peter Flynn
      Mar 27 '17 at 20:28













    4












    4








    4







    You can import the PDF file into a software like Inkscape and there you can do what you want, including a color check.






    share|improve this answer













    You can import the PDF file into a software like Inkscape and there you can do what you want, including a color check.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Oct 17 '12 at 12:39









    BuzzBuzz

    491




    491












    • Unfortunately, Inkscape doesn't support CMYK colours, though Scribus does. This is great for smaller documents, but not for bigger ones. My PC hasn't got loads of memory, so it would be better using a CLI.

      – Alex Chamberlain
      Oct 17 '12 at 13:05












    • A cli utility is definitely needed. A 'pdfcolors' program which would just list the colours used in whatever form they are expressed (rgb, cmyk) and perhaps with -verbose, list them per page.

      – Peter Flynn
      Mar 27 '17 at 20:28

















    • Unfortunately, Inkscape doesn't support CMYK colours, though Scribus does. This is great for smaller documents, but not for bigger ones. My PC hasn't got loads of memory, so it would be better using a CLI.

      – Alex Chamberlain
      Oct 17 '12 at 13:05












    • A cli utility is definitely needed. A 'pdfcolors' program which would just list the colours used in whatever form they are expressed (rgb, cmyk) and perhaps with -verbose, list them per page.

      – Peter Flynn
      Mar 27 '17 at 20:28
















    Unfortunately, Inkscape doesn't support CMYK colours, though Scribus does. This is great for smaller documents, but not for bigger ones. My PC hasn't got loads of memory, so it would be better using a CLI.

    – Alex Chamberlain
    Oct 17 '12 at 13:05






    Unfortunately, Inkscape doesn't support CMYK colours, though Scribus does. This is great for smaller documents, but not for bigger ones. My PC hasn't got loads of memory, so it would be better using a CLI.

    – Alex Chamberlain
    Oct 17 '12 at 13:05














    A cli utility is definitely needed. A 'pdfcolors' program which would just list the colours used in whatever form they are expressed (rgb, cmyk) and perhaps with -verbose, list them per page.

    – Peter Flynn
    Mar 27 '17 at 20:28





    A cli utility is definitely needed. A 'pdfcolors' program which would just list the colours used in whatever form they are expressed (rgb, cmyk) and perhaps with -verbose, list them per page.

    – Peter Flynn
    Mar 27 '17 at 20:28













    3














    Maybe identify from imagemagick suite will fit your needs?



    Use it with -verbose switch to get information about colors:



    identify -verbose file.pdf





    share|improve this answer























    • Note: you will need to install ghostscript in order for this command to work; otherwise, it will fail silently

      – William Entriken
      Dec 24 '15 at 16:27











    • Although it fails silently, that fact is documented at imagemagick.org/script/formats.php

      – William Entriken
      Dec 24 '15 at 16:28











    • The identify command lists the gamut (the range of colour values) but does not identify the individual rgb or cmyk values used.

      – Peter Flynn
      Mar 27 '17 at 20:26















    3














    Maybe identify from imagemagick suite will fit your needs?



    Use it with -verbose switch to get information about colors:



    identify -verbose file.pdf





    share|improve this answer























    • Note: you will need to install ghostscript in order for this command to work; otherwise, it will fail silently

      – William Entriken
      Dec 24 '15 at 16:27











    • Although it fails silently, that fact is documented at imagemagick.org/script/formats.php

      – William Entriken
      Dec 24 '15 at 16:28











    • The identify command lists the gamut (the range of colour values) but does not identify the individual rgb or cmyk values used.

      – Peter Flynn
      Mar 27 '17 at 20:26













    3












    3








    3







    Maybe identify from imagemagick suite will fit your needs?



    Use it with -verbose switch to get information about colors:



    identify -verbose file.pdf





    share|improve this answer













    Maybe identify from imagemagick suite will fit your needs?



    Use it with -verbose switch to get information about colors:



    identify -verbose file.pdf






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Oct 18 '12 at 17:24









    Paweł RumianPaweł Rumian

    1,281720




    1,281720












    • Note: you will need to install ghostscript in order for this command to work; otherwise, it will fail silently

      – William Entriken
      Dec 24 '15 at 16:27











    • Although it fails silently, that fact is documented at imagemagick.org/script/formats.php

      – William Entriken
      Dec 24 '15 at 16:28











    • The identify command lists the gamut (the range of colour values) but does not identify the individual rgb or cmyk values used.

      – Peter Flynn
      Mar 27 '17 at 20:26

















    • Note: you will need to install ghostscript in order for this command to work; otherwise, it will fail silently

      – William Entriken
      Dec 24 '15 at 16:27











    • Although it fails silently, that fact is documented at imagemagick.org/script/formats.php

      – William Entriken
      Dec 24 '15 at 16:28











    • The identify command lists the gamut (the range of colour values) but does not identify the individual rgb or cmyk values used.

      – Peter Flynn
      Mar 27 '17 at 20:26
















    Note: you will need to install ghostscript in order for this command to work; otherwise, it will fail silently

    – William Entriken
    Dec 24 '15 at 16:27





    Note: you will need to install ghostscript in order for this command to work; otherwise, it will fail silently

    – William Entriken
    Dec 24 '15 at 16:27













    Although it fails silently, that fact is documented at imagemagick.org/script/formats.php

    – William Entriken
    Dec 24 '15 at 16:28





    Although it fails silently, that fact is documented at imagemagick.org/script/formats.php

    – William Entriken
    Dec 24 '15 at 16:28













    The identify command lists the gamut (the range of colour values) but does not identify the individual rgb or cmyk values used.

    – Peter Flynn
    Mar 27 '17 at 20:26





    The identify command lists the gamut (the range of colour values) but does not identify the individual rgb or cmyk values used.

    – Peter Flynn
    Mar 27 '17 at 20:26











    0














    The GIMP can easily tell you the RGB or CMYK values of any color in a pdf. When you open the pdf, it will offer to treat each page as a layer. That's fine, you just need to select each layer as you look at it and make each layer above it invisible.



    Then use the color picker tool (eyedropper icon) to click on any color in the pdf. It will automatically select it for the foreground, but you can check the option to "[] use info window" to see RGB, CMYK, HSV, etc on whatever you select.






    share|improve this answer



























      0














      The GIMP can easily tell you the RGB or CMYK values of any color in a pdf. When you open the pdf, it will offer to treat each page as a layer. That's fine, you just need to select each layer as you look at it and make each layer above it invisible.



      Then use the color picker tool (eyedropper icon) to click on any color in the pdf. It will automatically select it for the foreground, but you can check the option to "[] use info window" to see RGB, CMYK, HSV, etc on whatever you select.






      share|improve this answer

























        0












        0








        0







        The GIMP can easily tell you the RGB or CMYK values of any color in a pdf. When you open the pdf, it will offer to treat each page as a layer. That's fine, you just need to select each layer as you look at it and make each layer above it invisible.



        Then use the color picker tool (eyedropper icon) to click on any color in the pdf. It will automatically select it for the foreground, but you can check the option to "[] use info window" to see RGB, CMYK, HSV, etc on whatever you select.






        share|improve this answer













        The GIMP can easily tell you the RGB or CMYK values of any color in a pdf. When you open the pdf, it will offer to treat each page as a layer. That's fine, you just need to select each layer as you look at it and make each layer above it invisible.



        Then use the color picker tool (eyedropper icon) to click on any color in the pdf. It will automatically select it for the foreground, but you can check the option to "[] use info window" to see RGB, CMYK, HSV, etc on whatever you select.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        mightypilemightypile

        1664




        1664



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f52064%2fhow-do-i-extract-the-colours-from-a-pdf%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.