Learn R Programming

Nippon (version 0.2.2)

JapaneseColors: Find RGB by Japanese color names

Description

JapaneseColors returns RGB values from Japanese traditional color names, which are defined by Japanese Industrial Standard (JIS).

Usage

JapaneseColors(names)

Arguments

names
A chracter vector. The JIS name of Japanese traditional colors can be written in UTF-8 encoded Japanese (Kanji, or Hiragana), or Romaji (ASCII).

Value

  • A character vector

Details

The JIS Common Color Names (JIS Z 8102:2001) is definition of 269 colors by JIS. JapaneseColors provides the RGB value in conformity to the JIS Standards, referring the Japanese traditional color name. Note that this function only supports the JIS colors with Japanese traditional names (145 colors), and does not support the JIS colors with English names (124 colors).

References

JIS Z 8102:2001 (Names of non-luminous object colours)

K. Seino and I. Shimamori. Shikimeijiten. Tokyo:Sinkigensha, 2005.

See Also

nippon.palette

Examples

Run this code
JapaneseColors(c("sangoiro","kuriiro"))

Run the code above in your browser using DataLab