Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

HitCount contributions welcome

colRoz - A wildlife colour palette from the land down under

colRozlogo

Themed colour packages are all the rage. So Nicholas asked Jacinta to make him a colour package. These palettes are based on the colours of Australia which we can all agree is the most beautiful country in the world. If a kiwi can be convinced, then it must be so.

Palettes

See the colRoz website for the full list of palettes.

Warramaba

These are palettes based on the colours of matchstick grasshoppers in the genus Warramaba. You can read more about matchstick grasshoppers on Jacinta's website.

Lizards

These are palettes based on some of Australia's favourite native scalys.

Landscapes

These are palettes based on iconic Australian landscapes.

Community contributors: Jordan Iles, Nicholas Wu

Birds

These are palettes based on some of Australias colourful native avians.

Community contributors: Jessica McLachlan, Brenton von Takach

Frogs

To be added

Snakes

To be added

Plants

These are palettes based on some of Australias underrated native flora.

Community contributors: Emma Dalziell, Sarah Mulhall

Inverts

These are palettes based on some of Australia's tiny beauties.

Community contributors: Craig White, Kate Umbers

Fish

These are palettes based on some of Australia's wet & wild.

Community contributors: Brenton von Takach

Mammals

They have fur and produce milk.


Contributing

Got a palette idea? Submit a pull request on GitHub with your palette or set of palettes as a list like:

palette <- list(
pal1 = rbind(c(<hex codes>), c(<order of discrete colours>))
)

Palettes are stored in the R file oz_palettes.R. You can add individual palettes to the respective theme or make your own theme. Our palettes are about 6 hex codes long but they can be any number you want. Alternatively get in touch via email or the issues tab on GitHub. We may not have time to choose colours for a given theme but if you already decided on the colour scheme, it's easy to copy and paste the hex codes into the relevant line and you get credit, of course.


News

See news.md for latest updates


Install package

There are binary releases if you'd prefer but for the development version:

install.packages("devtools")
devtools::install_github("jacintak/colRoz",  build_vignettes = TRUE)

Usage

library("colRoz")

# See all palettes
names(oz_palettes)

# Usage in a graph

pal <- colRoz_pal(name = "ngadju", n = 3, type = "discrete")

library("ggplot2")
ggplot(iris, aes(Petal.Width, Petal.Length , colour=Species)) +
geom_point() +
scale_colour_manual(values = pal) +
theme_classic()

# To visualise the palette
print_palette(colRoz_pal("c.decresii"))

Example palettes with the real thing

Warramaba ngadju

Tawny dragon (Ctenophorus decresii)

Blue Mountains water skink (Eulamprus leuraensis)


Credits

Jacinta Kong designed the Warramaba palette and adapted the code from the following packages:

Nicholas Wu designed the other palettes and the logo.

Contact J. Kong: kongj@tcd.ie

Contact N. Wu: nicholas.wu.nz@gmail.com

Twitter
jacintakong
NicholasWuNZ

Photo credits

  • Warramaba: Barry Kearney, Jacinta Kong
  • Lizards: Jannico Kelk, Ross McGibbon, Peter Soltys, Nicholas Wu, Steven Zozaya, Jacinta Kong
  • Landscapes: Nicholas Wu, Jacinta Kong, Jordan Iles
  • Birds: Jessica McLachlan, Brenton von Takach, Jacinta Kong
  • Plants: Emma Dalziell, Sarah Mulhall
  • Inverts: Jacinta Kong, Craig White, Kate Umbers
  • Fish: Brenton von Takach
  • Mammals: Jacinta Kong
You can’t perform that action at this time.