jrnold / ggthemes

Additional themes, scales, and geoms for ggplot2
http://jrnold.github.io/ggthemes/
1.31k stars 229 forks source link

theme_few() colors don't match RGB scale from "Show Me the Numbers" #89

Closed bpbraun closed 6 years ago

bpbraun commented 6 years ago

In appendix I at the end of the book, Few has the RGB scales for his light, medium, and dark palettes. These don't match the colors used in ggthemes.

jrnold commented 6 years ago

What are those numbers? I based the themes off of the article-version that's the cited in the documentation.

bpbraun commented 6 years ago

Light: 140, 140, 140 136, 189, 230 251, 178, 88 144, 205, 151 246, 170, 201, 191, 165, 84 188, 154, 199 237, 221, 70 240, 126, 110

Medium: 77, 77, 77 93, 165, 218 250, 164, 58 96, 189, 104 241, 124, 176 178, 145, 47 178, 118, 178 222, 207, 63 241, 88, 84

Dark and Bright: 0, 0, 0 28, 93, 171 223, 92, 36 5, 151, 72 229, 18, 111 157, 114, 42 123, 58, 150 199, 180, 46 203, 32, 39

jrnold commented 6 years ago

Thanks! Included in the github version. Will push to CRAN soon.

bpbraun commented 6 years ago

Awesome.

On Sun, May 6, 2018 at 11:48 PM Jeffrey Arnold notifications@github.com wrote:

Thanks! Included in the github version. Will push to CRAN soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jrnold/ggthemes/issues/89#issuecomment-386950123, or mute the thread https://github.com/notifications/unsubscribe-auth/Ai0WGad8PQEWGeqwFjpWUzrYwlbY07Njks5tv8P3gaJpZM4TgCSL .

--

Respectfully,

Benjamin Braun 310-488-6836 <javascript:void(0);>

"Keep, ancient lands, your storied pomp!" cries she With silent lips. "Give me your tired, your poor, Your huddled masses yearning to breathe free, The wretched refuse of your teeming shore. Send these, the homeless, tempest-tost to me, I lift my lamp beside the golden door!"