Greyscale compatible colours for TikZBest practice for hyperref link colours?converting a hyperlinked pdf...

What to do when being responsible for data protection in your lab, yet advice is ignored?

Do my Windows system binaries contain sensitive information?

Quenching swords in dragon blood; why?

Do authors have to be politically correct in article-writing?

Avoiding morning and evening handshakes

Superposition of light waves of different colors

How to replace the content to multiple files?

Slicing User Stories

Why are the books in the Game of Thrones citadel library shelved spine inwards?

Copy large no of files of specific date to another directory?

Why is button three on trumpet almost never used alone?

How do I add a variable to this curl command?

Why did Bush enact a completely different foreign policy to that which he espoused during the 2000 Presidential election campaign?

I am on the US no-fly list. What can I do in order to be allowed on flights which go through US airspace?

Why do members of Congress in committee hearings ask witnesses the same question multiple times?

What do you call a fact that doesn't match the settings?

On what did Lego base the appearance of the new Hogwarts minifigs?

Finding the number of integers that are a square and a cube at the same time

What's the rationale behind the objections to these measures against human trafficking?

Find the number of ways to express 1050 as sum of consecutive integers

Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?

Integral inequality of length of curve

How would an AI self awareness kill switch work?

Which preposition to use with beauty? Of or with?



Greyscale compatible colours for TikZ


Best practice for hyperref link colours?converting a hyperlinked pdf includepdf to black and whiteUsing Pantone/spot colors and TikZ togetherMetadata for different colours in PGFPlotsTikz poster block title coloursBeamer handout: removing coloursWhy cmyk colors are displayed wrong on screen?Sphere shading in cmyk coloursFilling cells with coloursPage background with transparency colours













2















I am looking for five different colours/fill styles for the bars in a TikZ chart. The bars are quite narrow. I want them to be distinctive when viewed onscreen or printed in colour, but also distinctive if the same PDF file gets printed in black and white.



Can anyone recommend a good set of colour definitions? Or some other way of filling the bars to make them distinctive in both scenarios? A bonus (non-essential) would be if colour-blind people could also tell them apart easily.



To clarify, I do not want to produce a greyscale PDF file, or generate a separate output for black and white printing, as I have seen in some other answers. Thanks!










share|improve this question























  • Do you mind getting 6 colors instead? graphicdesign.stackexchange.com/q/80522/27774

    – Symbol 1
    19 hours ago


















2















I am looking for five different colours/fill styles for the bars in a TikZ chart. The bars are quite narrow. I want them to be distinctive when viewed onscreen or printed in colour, but also distinctive if the same PDF file gets printed in black and white.



Can anyone recommend a good set of colour definitions? Or some other way of filling the bars to make them distinctive in both scenarios? A bonus (non-essential) would be if colour-blind people could also tell them apart easily.



To clarify, I do not want to produce a greyscale PDF file, or generate a separate output for black and white printing, as I have seen in some other answers. Thanks!










share|improve this question























  • Do you mind getting 6 colors instead? graphicdesign.stackexchange.com/q/80522/27774

    – Symbol 1
    19 hours ago
















2












2








2








I am looking for five different colours/fill styles for the bars in a TikZ chart. The bars are quite narrow. I want them to be distinctive when viewed onscreen or printed in colour, but also distinctive if the same PDF file gets printed in black and white.



Can anyone recommend a good set of colour definitions? Or some other way of filling the bars to make them distinctive in both scenarios? A bonus (non-essential) would be if colour-blind people could also tell them apart easily.



To clarify, I do not want to produce a greyscale PDF file, or generate a separate output for black and white printing, as I have seen in some other answers. Thanks!










share|improve this question














I am looking for five different colours/fill styles for the bars in a TikZ chart. The bars are quite narrow. I want them to be distinctive when viewed onscreen or printed in colour, but also distinctive if the same PDF file gets printed in black and white.



Can anyone recommend a good set of colour definitions? Or some other way of filling the bars to make them distinctive in both scenarios? A bonus (non-essential) would be if colour-blind people could also tell them apart easily.



To clarify, I do not want to produce a greyscale PDF file, or generate a separate output for black and white printing, as I have seen in some other answers. Thanks!







color printing






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 20 hours ago









JRIJRI

1154




1154













  • Do you mind getting 6 colors instead? graphicdesign.stackexchange.com/q/80522/27774

    – Symbol 1
    19 hours ago





















  • Do you mind getting 6 colors instead? graphicdesign.stackexchange.com/q/80522/27774

    – Symbol 1
    19 hours ago



















Do you mind getting 6 colors instead? graphicdesign.stackexchange.com/q/80522/27774

– Symbol 1
19 hours ago







Do you mind getting 6 colors instead? graphicdesign.stackexchange.com/q/80522/27774

– Symbol 1
19 hours ago












1 Answer
1






active

oldest

votes


















2














I would suggest using a basic color that you can then mix with different amounts of white and black to create five different shades of this color. In the following example, I have used blue as the base color, but the same can also be done using other colors (such as red and green, as shown in the image below).



documentclass[a4paper, 12pt]{article}
usepackage{pgfplots}
begin{document}

begin{tikzpicture}
begin{axis}[
xmin=0,
xmax=6,
xtick={1,2,3,4,5},
ytick={0,5},
ymin=0,
ymax=5,
every axis plot/.append style={
ybar,
bar width=10pt,
bar shift=0pt,
fill
}
]
addplot[blue!15!white]coordinates {(1,5)};
addplot[blue!40!white]coordinates{(2,5)};
addplot[blue]coordinates{(3,5)};
addplot[blue!60!black]coordinates{(4,5)};
addplot[blue!15!black]coordinates{(5,5)};
end{axis}
end{tikzpicture}
end{document}


The same bar charts converted to grayscale are shown next to the coresponding colored chart in the following image:



enter image description here






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    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%2ftex.stackexchange.com%2fquestions%2f477473%2fgreyscale-compatible-colours-for-tikz%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I would suggest using a basic color that you can then mix with different amounts of white and black to create five different shades of this color. In the following example, I have used blue as the base color, but the same can also be done using other colors (such as red and green, as shown in the image below).



    documentclass[a4paper, 12pt]{article}
    usepackage{pgfplots}
    begin{document}

    begin{tikzpicture}
    begin{axis}[
    xmin=0,
    xmax=6,
    xtick={1,2,3,4,5},
    ytick={0,5},
    ymin=0,
    ymax=5,
    every axis plot/.append style={
    ybar,
    bar width=10pt,
    bar shift=0pt,
    fill
    }
    ]
    addplot[blue!15!white]coordinates {(1,5)};
    addplot[blue!40!white]coordinates{(2,5)};
    addplot[blue]coordinates{(3,5)};
    addplot[blue!60!black]coordinates{(4,5)};
    addplot[blue!15!black]coordinates{(5,5)};
    end{axis}
    end{tikzpicture}
    end{document}


    The same bar charts converted to grayscale are shown next to the coresponding colored chart in the following image:



    enter image description here






    share|improve this answer




























      2














      I would suggest using a basic color that you can then mix with different amounts of white and black to create five different shades of this color. In the following example, I have used blue as the base color, but the same can also be done using other colors (such as red and green, as shown in the image below).



      documentclass[a4paper, 12pt]{article}
      usepackage{pgfplots}
      begin{document}

      begin{tikzpicture}
      begin{axis}[
      xmin=0,
      xmax=6,
      xtick={1,2,3,4,5},
      ytick={0,5},
      ymin=0,
      ymax=5,
      every axis plot/.append style={
      ybar,
      bar width=10pt,
      bar shift=0pt,
      fill
      }
      ]
      addplot[blue!15!white]coordinates {(1,5)};
      addplot[blue!40!white]coordinates{(2,5)};
      addplot[blue]coordinates{(3,5)};
      addplot[blue!60!black]coordinates{(4,5)};
      addplot[blue!15!black]coordinates{(5,5)};
      end{axis}
      end{tikzpicture}
      end{document}


      The same bar charts converted to grayscale are shown next to the coresponding colored chart in the following image:



      enter image description here






      share|improve this answer


























        2












        2








        2







        I would suggest using a basic color that you can then mix with different amounts of white and black to create five different shades of this color. In the following example, I have used blue as the base color, but the same can also be done using other colors (such as red and green, as shown in the image below).



        documentclass[a4paper, 12pt]{article}
        usepackage{pgfplots}
        begin{document}

        begin{tikzpicture}
        begin{axis}[
        xmin=0,
        xmax=6,
        xtick={1,2,3,4,5},
        ytick={0,5},
        ymin=0,
        ymax=5,
        every axis plot/.append style={
        ybar,
        bar width=10pt,
        bar shift=0pt,
        fill
        }
        ]
        addplot[blue!15!white]coordinates {(1,5)};
        addplot[blue!40!white]coordinates{(2,5)};
        addplot[blue]coordinates{(3,5)};
        addplot[blue!60!black]coordinates{(4,5)};
        addplot[blue!15!black]coordinates{(5,5)};
        end{axis}
        end{tikzpicture}
        end{document}


        The same bar charts converted to grayscale are shown next to the coresponding colored chart in the following image:



        enter image description here






        share|improve this answer













        I would suggest using a basic color that you can then mix with different amounts of white and black to create five different shades of this color. In the following example, I have used blue as the base color, but the same can also be done using other colors (such as red and green, as shown in the image below).



        documentclass[a4paper, 12pt]{article}
        usepackage{pgfplots}
        begin{document}

        begin{tikzpicture}
        begin{axis}[
        xmin=0,
        xmax=6,
        xtick={1,2,3,4,5},
        ytick={0,5},
        ymin=0,
        ymax=5,
        every axis plot/.append style={
        ybar,
        bar width=10pt,
        bar shift=0pt,
        fill
        }
        ]
        addplot[blue!15!white]coordinates {(1,5)};
        addplot[blue!40!white]coordinates{(2,5)};
        addplot[blue]coordinates{(3,5)};
        addplot[blue!60!black]coordinates{(4,5)};
        addplot[blue!15!black]coordinates{(5,5)};
        end{axis}
        end{tikzpicture}
        end{document}


        The same bar charts converted to grayscale are shown next to the coresponding colored chart in the following image:



        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 18 hours ago









        leandriisleandriis

        9,3351530




        9,3351530






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX 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%2ftex.stackexchange.com%2fquestions%2f477473%2fgreyscale-compatible-colours-for-tikz%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

            El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

            Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

            Castillo d'Acher Características Menú de navegación