Skip to content

Commit f6552c0

Browse files
committed
Update categorical palette
1 parent 4ae8b8d commit f6552c0

File tree

3 files changed

+37
-37
lines changed

3 files changed

+37
-37
lines changed

R/rand-pal.R

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
#' \describe{
1515
#' \item{RandCatPal}{
1616
#' \itemize{
17-
#' \item #61c6c6
18-
#' \item #ce8644
19-
#' \item #c1536b
20-
#' \item #595a5a
21-
#' \item #e2c755
22-
#' \item #597cbe
23-
#' \item #45aF84
24-
#' \item #7995a5
25-
#' \item #af61a7
17+
#' \item #8a02fd
18+
#' \item #191351
19+
#' \item #951195
20+
#' \item #fdbbbd
21+
#' \item #7982dd
22+
#' \item #eb98ff
23+
#' \item #ecf100
24+
#' \item #b1f4fd
25+
#' \item #ccff89
2626
#' }
2727
#' }
2828
#' \item{RandGrayPal}{
@@ -85,15 +85,15 @@ NULL
8585
#' @rdname rand_pal
8686
#' @export
8787
RandCatPal <- c(
88-
"#61c6c6",
89-
"#ce8644",
90-
"#c1536b",
91-
"#595a5a",
92-
"#e2c755",
93-
"#597cbe",
94-
"#45aF84",
95-
"#7995a5",
96-
"#af61a7"
88+
"#8a02fd",
89+
"#191351",
90+
"#951195",
91+
"#fdbbbd",
92+
"#7982dd",
93+
"#eb98ff",
94+
"#ecf100",
95+
"#b1f4fd",
96+
"#ccff89"
9797
)
9898

9999
#' @rdname rand_pal

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ This package also contains a categorical palette and a palette of sequential sha
4848
##### `RandCatPal`
4949
`RandCatPal` includes various colors that are suitable for showing discrete, qualitative values:
5050

51-
- `#61c6c6`
52-
- `#ce8644`
53-
- `#c1536b`
54-
- `#595a5a`
55-
- `#e2c755`
56-
- `#597cbe`
57-
- `#45aF84`
58-
- `#7995a5`
59-
- `#af61a7`
51+
- `#8a02fd`
52+
- `#191351`
53+
- `#951195`
54+
- `#fdbbbd`
55+
- `#7982dd`
56+
- `#eb98ff`
57+
- `#ecf100`
58+
- `#b1f4fd`
59+
- `#ccff89`
6060

6161
##### `RandGrayPal`
6262
`RandGrayPal` includes all of the grays that are used in RAND charts, plus additional grays for completeness:
@@ -81,7 +81,7 @@ scale_color_manual(values = RandGrayPal)
8181
Access specific colors from randplot's palettes like this:
8282

8383
```r
84-
RandCatPal[1] # Returns the first color in RandCatPal, #61c6c6
84+
RandCatPal[1] # Returns the first color in RandCatPal, #8a02fd
8585
RandGrayPal[1:3] # Returns the first through third colors of RandGrayPal.
8686
```
8787

man/rand_pal.Rd

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)