Skip to contents

rtpalette() prints names of available color palettes Each palette is a named list of hexadecimal color definitions which can be used with any graphics function. rtpalette(palette_name) returns a list of colors for a given palette.

Usage

rtpalette(palette = NULL, verbosity = 1L)

Arguments

palette

Character: Name of palette to return. Default = NULL: available palette names are printed and no palette is returned.

verbosity

Integer: Verbosity level.

Value

A list of available palettes, invisibly.

Author

EDG

Examples

# Print available palettes
rtpalette()
#> 2026-02-01 12:32:02 
#> The following palettes are available:
#>  [rtpalette]
#>  [1] "ucsfCol"             "pennCol"             "imperialCol"        
#>  [4] "stanfordCol"         "ucdCol"              "berkeleyCol"        
#>  [7] "ucscCol"             "ucmercedCol"         "ucsbCol"            
#> [10] "uclaCol"             "ucrColor"            "uciCol"             
#> [13] "ucsdCol"             "ucCol"               "scrippsCol"         
#> [16] "caltechCol"          "cmuCol"              "princetonCol"       
#> [19] "columbiaCol"         "yaleCol"             "brownCol"           
#> [22] "cornellCol"          "hmsCol"              "dartmouthCol"       
#> [25] "usfCol"              "uwCol"               "jhuCol"             
#> [28] "nyuCol"              "washuCol"            "chicagoCol"         
#> [31] "pennstateCol"        "msuCol"              "michiganCol"        
#> [34] "iowaCol"             "texasCol"            "techCol"            
#> [37] "jeffersonCol"        "hawaiiCol"           "nihCol"             
#> [40] "torontoCol"          "mcgillCol"           "uclCol"             
#> [43] "oxfordCol"           "nhsCol"              "ethCol"             
#> [46] "rwthCol"             "firefoxCol"          "mozillaCol"         
#> [49] "appleCol"            "googleCol"           "amazonCol"          
#> [52] "microsoftCol"        "pantoneBalancingAct" "pantoneWellspring"  
#> [55] "pantoneAmusements"   "grays"               "rtCol1"             
#> [58] "rtms"               
# Get the Imperial palette
rtpalette("imperial")
#> $navy
#> [1] "#002147"
#> 
#> $imperialBlue
#> [1] "#003E74"
#> 
#> $lightGrey
#> [1] "#EBEEEE"
#> 
#> $coolGrey
#> [1] "#9D9D9D"
#> 
#> $lightBlue
#> [1] "#D4EFFC"
#> 
#> $blue
#> [1] "#006EAF"
#> 
#> $processBlue
#> [1] "#0091D4"
#> 
#> $poolBlue
#> [1] "#00ACD7"
#> 
#> $darkTeal
#> [1] "#0F8291"
#> 
#> $teal
#> [1] "#009CBC"
#> 
#> $seaglass
#> [1] "#379f9f"
#> 
#> $darkGreen
#> [1] "#02893B"
#> 
#> $kermitGreen
#> [1] "#66A40A"
#> 
#> $lime
#> [1] "#BBCE00"
#> 
#> $orange
#> [1] "#D24000"
#> 
#> $tangerine
#> [1] "#EC7300"
#> 
#> $lemonYellow
#> [1] "#FFDD00"
#> 
#> $brick
#> [1] "#A51900"
#> 
#> $red
#> [1] "#DD2501"
#> 
#> $cherry
#> [1] "#E40043"
#> 
#> $raspberry
#> [1] "#9F004E"
#> 
#> $magentaPink
#> [1] "#C81E78"
#> 
#> $iris
#> [1] "#751E66"
#> 
#> $violet
#> [1] "#960078"
#> 
#> $plum
#> [1] "#321E6D"
#> 
#> $purple
#> [1] "#653098"
#>