https://github.com/cran/colorspace
Raw File
Tip revision: d17508f2254e631d5254f527c478330cbe077849 authored by Achim Zeileis on 24 January 2013, 00:00:00 UTC
version 1.2-1
Tip revision: d17508f
NAMESPACE
useDynLib("colorspace")

import("methods")
importFrom("graphics", "plot")

exportClasses("color", "RGB", "sRGB", "HSV", "HLS", "XYZ", "LAB", "polarLAB", "LUV", "polarLUV")

export(
  ## colorspaces
  "RGB",
  "sRGB",
  "HSV",
  "HLS",
  "XYZ",
  "LAB",
  "polarLAB",
  "LUV",
  "polarLUV",

  ## utilities
  "mixcolor",
  "coords",
  
  "hex",
  "hex2RGB",
  "readRGB",
  "readhex",
  "writehex",

  ## palettes
  "rainbow_hcl",
  "diverge_hcl",
  "diverge_hsv",
  "heat_hcl",
  "sequential_hcl",
  "terrain_hcl",

  ## palette utilities
  "choose_palette",
  "desaturate"
)

exportMethods("[", "coerce", "coords", "plot", "show")
back to top