Skip to content

Commit

Permalink
add link to color finder
Browse files Browse the repository at this point in the history
  • Loading branch information
holtzy committed Jun 20, 2024
1 parent a380a9d commit 99ea37e
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 2 deletions.
63 changes: 61 additions & 2 deletions ggplot2-color.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ <h1>Dealing with colors in ggplot2</h1>
its <code>fill</code> and <code>color</code> arguments. It is
important to understand the diffence between both.
</p>
<p>
The <code>fill</code> property changes the color inside the shape,
while the <code>color</code> property modifies its border color.
</p>
<p>
Note that <code>color</code> and <code>colour</code> always have the
same effect.
Expand Down Expand Up @@ -381,9 +385,9 @@ <h1>Dealing with colors in ggplot2</h1>
<p>
<code>ggplot2</code> allows to automatically assign a marker color
to a variable. Basically, you just have to specify the variable in
the <code>aes()</code> part of the call. Moreover, a legend comes
for free.
the <code>aes()</code> part of the call.
</p>
<p>Moreover, a legend will come for free! 🎉</p>
<pre
class="bg-light"
style="padding-left: 10px; margin-top: 0px"
Expand Down Expand Up @@ -878,6 +882,61 @@ <h1>Dealing with colors in ggplot2</h1>
showPalette("colorPalette_brewerPuOr");
</script>

<section
class="bg"
id="oneCol"
style="padding-top: 60px; padding-bottom: 60px; margin-top: 0px"
>
<div class="container">
<div class="mySeryTitle">
<code>Paletteer</code>: The Definitive Catalog of R Color Palettes
</div>
<hr />
<p>
<a href="https://r-graph-gallery.com/package/paletteer.html"
>Paletteer</a
>
is an R package that provides over
<b>2500+ ready-to-use color palettes</b>
for your charts.
</p>
<p>
Using <code>paletteer</code> is simple. It comes with a few functions
like <code>scale_fill_paletteer_d</code> which allows to utilize any
of the 2500+ palettes in your plot. I've written a comprehensive
<a href="https://r-graph-gallery.com/package/paletteer.html"
>introduction to Paletteer here</a
>.
</p>
<a
href="https://r-graph-gallery.com/package/paletteer.html"
class="btn btn-secondary btn-sm"
>paletter introduction</a
>
<br /><br />
<p>
Additionally, I've developed a lightweight
<a href="https://r-graph-gallery.com/color-palette-finder"
>application</a
>
that allows you to <b>explore</b> these 2500+ palettes quickly. It
includes a variety of features that I'm sure you'll enjoy.
</p>
<a
href="https://r-graph-gallery.com/color-palette-finder"
class="btn btn-secondary btn-sm"
>Color Palette Finder</a
>
<br />
<center>
<a href="https://r-graph-gallery.com/color-palette-finder"
><img src="img/other/colorPaletteFinder.gif"
/></a>
</center>
<br />
</div>
</section>

<section class="bg" id="portfolio" style="padding-top: 80px">
<div class="container">
<div class="mySeryTitle">Quick notes</div>
Expand Down
Binary file added img/other/colorPaletteFinder.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 99ea37e

Please sign in to comment.