<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Colour on rostrum.blog</title>
    <link>https://www.rostrum.blog/tags/colour/</link>
    <description>Recent content in Colour on rostrum.blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-gb</language>
    <lastBuildDate>Fri, 27 Aug 2021 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://www.rostrum.blog/tags/colour/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Adding a Shiny app to {dehex}</title>
      <link>https://www.rostrum.blog/2021/08/27/dehex-app/</link>
      <pubDate>Fri, 27 Aug 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2021/08/27/dehex-app/</guid>
      <description>Use the {dehex} app to generate a random hex code and learn how to interpret it by eye.  tl;dr The {dehex} package now contains a Shiny app that you can use to walk through the process of reading a colour hex code, as per David DeSandro’s method.
 {dehex}cellent In the last post I introduced the R package {dehex}. Its purpose is to help me (you?) look at a colour hex code and be able to ‘read’ roughly what colour it is without resorting to a lookup.</description>
    </item>
    
    <item>
      <title>Read a hex colour code with {dehex}</title>
      <link>https://www.rostrum.blog/2021/08/10/dehex/</link>
      <pubDate>Tue, 10 Aug 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2021/08/10/dehex/</guid>
      <description>tl;dr I wrote an R package, {dehex}, that helps you learn to ‘read’ a hex colour code by eye according to David DeSandro’s method. Check out his mindblowing talk.
 Hue are you? Hex codes are used in computing to encode a colour as a succinct six-digit alphanumeric string, like #F4D82A.
These codes are written in hexadecimal (hence ‘hex’): they can take the characters 0 to 9 and A to F, which encodes 16 possible values.</description>
    </item>
    
    <item>
      <title>Accessible colour contrasts with {coloratio}</title>
      <link>https://www.rostrum.blog/2020/12/30/coloratio/</link>
      <pubDate>Wed, 30 Dec 2020 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2020/12/30/coloratio/</guid>
      <description>This blog’s theme: insufficient contrast!  tl;dr I made a small R package called {coloratio} to evaluate colour-contrast ratios for accessibility. Then I found out that {savonliquide} already exists to do this.
 Accessible charts The UK government’s website, GOV.UK, was developed with user needs and accessibility in mind. I’ve been using {ggplot2} to recreate the simple, accessible chart styles suggested for use on GOV.UK by the Government Statistical Service.</description>
    </item>
    
    <item>
      <title>Quantify colour by {magick}</title>
      <link>https://www.rostrum.blog/2018/11/25/art-of-the-possible/</link>
      <pubDate>Sun, 25 Nov 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/11/25/art-of-the-possible/</guid>
      <description>‘Walrus rainbow vomit’ is a sentence I’d never thought I’d type (via Giphy)   Note
I later learnt about {colorfindr} by David Zumbach, which can extract colours from images, provide composition details and generate palettes. Check it out.
 tl;dr I used the {magick} package in R to map an image’s colours to their nearest match from a simplified palette, then quantified how much of the image was covered by each colour in that palette.</description>
    </item>
    
  </channel>
</rss>