Skip to content

Commit 16a9aa8

Browse files
authored
Update README.md
1 parent f9e2cdc commit 16a9aa8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Twitter: [here](https://twitter.com/BlakeRobMills)<br /> LinkedIn: [here](https:
1010
[Installation](#install-package)
1111
[Palettes](#palettes)
1212
[Functions](#functions)
13+
[Colorblind Checking](#colorblind-friendly-checking)
1314

1415
## Install Package
1516
Currently, the package is only able to be downloaded through github
@@ -214,3 +215,19 @@ met.brewer("Troy",n=15,type="continuous")
214215
met.brewer("Hokusai",n=100)
215216
```
216217
![Ex5](https://github.com/BlakeRMills/MetBrewer/blob/main/Works%20and%20Palettes/Examples/Example%205.png)
218+
219+
## Colorblind Friendly Checking
220+
The package has been updated to check for colorblind-friendlyness
221+
You can list out the colorblind-friendly palettes with the following code
222+
```r
223+
MetBrewer::colorblind_palettes
224+
225+
[1] "Cassatt" "Egypt" "Greek" "Ingres" "Isfahan1" "Isfahan2" "Morgenstern" "Pillement"
226+
[9] "Troy" "Veronese"
227+
```
228+
229+
You can also test is a palettes is colorblind friendly using the function provided
230+
231+
```r
232+
MetBrewer::colorblind.friendly("Ingres")
233+
```

0 commit comments

Comments
 (0)