rfortherestofus / marketing

MIT License
0 stars 0 forks source link

Choosing a colour palette from the client's website / brand materials. #5

Closed dgkeyes closed 2 years ago

cararthompson commented 2 years ago

Here's a proposed outline:

Hook You've collected the data, performed all the analyses, figured out the best way to plot the main story... Next step: tie the look of the plot in with the topic so that readers react with "ooh, nice story about [x]" rather than "look, they used ggpplot!".

Overall concept In our consultancy work, we want the plots we create to blend in seamlessly with the bigger picture of what our clients want to communicate, A big part of that is choosing a colour palette that aligns with the colours used by the client.

Several other aspects to this, (covered elsewhere?)

How to

  1. Choose colours

    • They have one main colour in their branding? Try a monochrome palette around that colour
    • They have give you brand guidlines? Use those if you can (are there enough colours for your plots?)
    • You need to come up with colours from their other materials? I use https://imagecolorpicker.com/ a lot for this; plug in an image or a website, and either go with the suggested palette, or pick out specific colours (more often)
  2. Use custom colour scales (the code bit)

    • Worked example creating a scale and using it in a plot (points / background)
  3. Extra steps: accessibilty

    • Check for how it will look to people with different types of visual impairments, tweak as needed
    • Point to packages that help with that

Summary In following these steps, the plot becomes part of the bigger picture, rather than being a stand alone item - it helps the client tell the story rather than detracting from it.

cararthompson commented 2 years ago

In terms of examples, we could go with CBEM, but the thing there is that they gave us the palette... and didn't use the plot where I followed the steps I'm outlining here to create an on-brand colour theme where more colours were required.

If you're open to using a non rfortherest plot, I think the most on-brand one I've done is this one about the weather in Edinburgh (it ties in with the Festival colour scheme / font / local colloquialisms...).

image

cararthompson commented 2 years ago

Which makes me think, do you want tips on using colours in text, or shall we save that for another post? My go-to for that is to use ggtext and the element_markdown() options in the theme settings.

dgkeyes commented 2 years ago

This looks great, Cara.

My major piece of feedback is to keep the focus on colors and avoid everything else (fonts, labels, etc). Those are each big topics on their own and I don't want the main focus to be lost.

Let's really have the blog post focus as: You're working with an organization and here are their colors. How do you translate that into code that you can use in R to make graphs that reflect their color scheme? The meat of the post is about creating custom color scales so everything else should build up to that.

In terms of an example, I'm fine to have you use the one above. You can use that as an example and I'll also add links to several R for the Rest of Us projects where we've used organizations' brand colors. That will help, hopefully, to generate some additional consulting work.

cararthompson commented 2 years ago

The structure of this is taking shape and I have notes on the process I followed to determine the colibri colours, so I can use the code for that in the examples. Here's the proposed structure:

Tada, branded plot and color/fill scales you can apply to any plot within the project.

dgkeyes commented 2 years ago

Sounds great! Onward ho!

cararthompson commented 2 years ago

I'm going you try to get this done today and tomorrow so I can take Friday off. Keep me right, do you want this in the first person ("here's how I approach things") or on behalf of the team ("here's what we did")?

dgkeyes commented 2 years ago

Go ahead and do first person. I may edit later on but let's start with that.

cararthompson commented 2 years ago

I've just pushed a draft. I feel it's too long, but I'm going to wait for your feedback before tweaking it, so you can let me know where there's too much / not enough detail.

cararthompson commented 2 years ago

Just quick note to say I tweaked the code a bit in the scale_fill/color bit to make it easier to read than what we have in the real code in the package, which has extra functionalities we don't need for this post.

dgkeyes commented 2 years ago

Ok, I've finished taking a pass editing this. Take a look here (you'll need to be logged in to access that) and let me know what you think.

cararthompson commented 2 years ago

Thanks for the edits - my PhD supervisors used to tell me my sentences were too long and this definitely feels more easy to read than the original.

Two things if I may:

Other than that, I'm happy for you to go ahead and publish it.

cararthompson commented 2 years ago

Oh and this is super vain of me, but any chance we could realign my profile pic with the one I'm using on Twitter? I can send you the file if you want or feel free to grab it from my profile.

dgkeyes commented 2 years ago

Very happy to do so! Could you send it to me on Twist or by email?

dgkeyes commented 2 years ago

Can you also point me to the right image for Step 3? Not sure what happened there.

dgkeyes commented 2 years ago

Oh, and I updated the "one of our team members" sentence. I was going to do it third person starting out but then switched, but forgot to update that.

cararthompson commented 2 years ago

Can you also point me to the right image for Step 3? Not sure what happened there.

It should be generated by the code but I've exported it and emailed it to you just in case.