How do I choose 4-8 colors in **base R** for plots that colorblind people will be able to see?

Below is the base R color pallet. Looking for a solution in **BASE R** without the use of packages.

Base R Color Palette Guide:
<http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf>

Color Palettes for Color Blindness: <http://mkweb.bcgsc.ca/colorblind/>

Specifically how do I manually create accessible colors in **BASE R**? 

e.g. "vermilion", "bluish green", and "reddish purple" as described in the paper figure below.

[![enter image description here](https://i.stack.imgur.com/zX6EV.png)](https://i.stack.imgur.com/zX6EV.png)