lcars_colors: Hex colors from LCARS color names

Description Usage Arguments Details See Also Examples

View source: R/lcars.R

Description

Obtain hex colors from standard LCARS color names.

Usage

1
2
3
4
5
6
7
8
9

Arguments

...

character, LCARS color names.

Details

These functions return the hex colors for LCARS color names. If no argument is provided, the functions return their respective LCARS color set. These functions correspond to LCARS color palettes that contain named colors. Other predefined LCARS color palettes are available but do not have names for each color. You can see all LCARS palettes with lcars_pals.

See Also

lcars_pals

Examples

1
2
3
lcars_colors()
lcars_2357()
lcars_colors("rust", "danub")

Example output

     pale-canary            tanoi     golden-tanoi      neon-carrot 
       "#FFFF99"        "#FFCC99"        "#FFCC66"        "#FF9933" 
        eggplant            lilac          anakiwa          mariner 
       "#664466"        "#CC99CC"        "#99CCFF"        "#3366CC" 
     bahama-blue        blue-bell          melrose          hopbush 
       "#006699"        "#9999CC"        "#9999FF"        "#CC6699" 
   chestnut-rose      orange-peel atomic-tangerine            danub 
       "#CC6666"        "#FF9966"        "#FF9900"        "#6688CC" 
          indigo  lavender-purple           cosmic       red-damask 
       "#4455BB"        "#9977AA"        "#774466"        "#DD6644" 
  medium-carmine          bourbon      sandy-brown       periwinkle 
       "#AA5533"        "#BB6622"        "#EE9955"        "#CCDDFF" 
     dodger-pale      dodger-soft        near-blue        navy-blue 
       "#5599FF"        "#3366FF"        "#0011EE"        "#000088" 
            husk             rust        tamarillo 
       "#BBAA55"        "#BB4411"        "#882211" 
 pale-canary        tanoi golden-tanoi  neon-carrot     eggplant        lilac 
   "#FFFF99"    "#FFCC99"    "#FFCC66"    "#FF9933"    "#664466"    "#CC99CC" 
     anakiwa      mariner  bahama-blue 
   "#99CCFF"    "#3366CC"    "#006699" 
     rust     danub 
"#BB4411" "#6688CC" 

trekcolors documentation built on June 1, 2021, 5:10 p.m.