Created
March 4, 2015 12:03
-
-
Save barryrowlingson/4cf178e9ef94aa1986b3 to your computer and use it in GitHub Desktop.
Smarties colour palette
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Colours of old Smarties with lovely artificial colouring, derived from: | |
### | |
### | |
### "Smarties old new" by John Penton and Paul Hughes - Own work. Licensed under CC BY-SA 2.5 via Wikimedia Commons - https://commons.wikimedia.org/wiki/File:Smarties_old_new.jpg#mediaviewer/File:Smarties_old_new.jpg | |
### | |
### image was loaded into gimp, representative parts of each Smartie were isolated, the image converted to indexed palette | |
### with 9 colours, the palette then saved. | |
## | |
### "Smarties" is a trademark of Nestle | |
## | |
### This code is free for any use: | |
### | |
Smarties = c("#de81a2", "#a4849f", "#00a2cf", "#50be65", "#bfba43", "#e16540", "#c8361f", "#21211e") | |
### The following should nearly reproduce the image: | |
plot(1:8,rep(0,8), col=Smarties, pch=19, cex=10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment