首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes
  • 本地全文:下载
  • 作者:Achim Zeileis ; Jason C. Fisher ; Kurt Hornik
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2020
  • 卷号:96
  • 期号:1
  • 页码:1-49
  • DOI:10.18637/jss.v096.i01
  • 出版社:University of California, Los Angeles
  • 摘要:The R package colorspace provides a flexible toolbox for selecting individual colors or color palettes, manipulating these colors, and employing them in statistical graphics and data visualizations. In particular, the package provides a broad range of color palettes based on the HCL (hue-chroma-luminance) color space. The three HCL dimensions have been shown to match those of the human visual system very well, thus facilitating intuitive selection of color palettes through trajectories in this space. Using the HCL color model, general strategies for three types of palettes are implemented: (1) Qualitative for coding categorical information, i.e., where no particular ordering of categories is available. (2) Sequential for coding ordered/numeric information, i.e., going from high to low (or vice versa). (3) Diverging for coding ordered/numeric information around a central neutral value, i.e., where colors diverge from neutral to two extremes. To aid selection and application of these palettes, the package also contains scales for use with ggplot2, shiny and tcltk apps for interactive exploration, visualizations of palette properties, accompanying manipulation utilities (like desaturation and lighten/darken), and emulation of color vision deficiencies. The shiny apps are also hosted online at http://hclwizard.org/.
  • 关键词:color;palette;HCL;RGB;hue;color vision deficiency;R.
  • 其他关键词:color;palette;HCL;RGB;hue;color vision deficiency;R
国家哲学社会科学文献中心版权所有