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).
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).
Value
A character vector
Author(s)
Susumu Tanimura
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
JapaneseColors(c("sangoiro","kuriiro"))
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Nippon)
Loading required package: maptools
Loading required package: sp
Checking rgeos availability: TRUE
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Nippon/JapaneseColors.Rd_%03d_medium.png", width=480, height=480)
> ### Name: JapaneseColors
> ### Title: Find RGB by Japanese color names
> ### Aliases: JapaneseColors
> ### Keywords: Japanese color
>
> ### ** Examples
>
> JapaneseColors(c("sangoiro","kuriiro"))
sangoiro kuriiro
142 51
>
>
>
>
>
> dev.off()
null device
1
>