Go to TogaWare.com Home Page. Data Science Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

Colour Names

20200608

\includegraphics[width=0.8\textwidth]{figures/onepager/graphics:colors_plot_fig-1}

R provides a collection of predefined named colours as returned by grDevices::colours():

length(colours())
## [1] 657

colours() %>% sample(12)
##  [1] "darkorchid3"    "darkgoldenrod4" "lightblue"      "lightskyblue1" 
##  [5] "darkslategray"  "grey69"         "grey76"         "mediumpurple1" 
##  [9] "limegreen"      "darkturquoise"  "gray3"          "ivory3"

Colours can be selected using epitools::colors.plot() with locator=TRUE to display a plot containing all of the named colours. Multiple clicks with the left mouse button on colours (we hear a beep for each click) will return the colour names.

as.character(colors.plot(locator=TRUE)$color.names)


Support further development by purchasing the PDF version of the book.
Other online resources include the GNU/Linux Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 2000-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.