A color system based on Chinese traditional colors with 1058 colors.
Value
A ChineseColors object.
Detailed information can be found in print.ChineseColors().
See also
chinese_colors for the dataset of Chinese traditional colors. get_chinese_palettes for getting Chinese color palettes. visual_colors for visualizing any color vector. get_colors for searching colors in dataset and palettes.
Examples
cc <- ChineseColors()
cc
#>
#> ── Chinese Traditional Colors System
#>
#> ── Total 1058 colors
#> • blue: 92 colors
#> • cyan: 51 colors
#> • gray_brown: 323 colors
#> • green: 123 colors
#> • orange: 92 colors
#> • purple: 95 colors
#> • red: 181 colors
#> • yellow: 101 colors
#>
#> ── Methods:
#> • visual_colors(loc_range, num_per_row, title, name_type)
#>
#> ── See also:
#> • [get_colors()] for searching colors
# Get a color by pinyin
get_colors("pinlan")
#>
#> ── Found in:
#> #2B73AF: "ChineseSet128" and "ChineseBlue"
#> num name name_ch rgb hex category category_ch
#> 21 pinlan 品蓝 (43, 115, 175) #2B73AF blue 蓝
# By number
get_colors(44)
#>
#> ── Found in:
#> #4E7CA1: "ChineseBlue"
#> num name name_ch rgb hex category category_ch
#> 44 diechilan 蝶翅蓝 (78, 124, 161) #4E7CA1 blue 蓝
# By hex code
get_colors("#2B73AF")
#>
#> ── Found in:
#> #2B73AF: "ChineseSet128" and "ChineseBlue"
#> num name name_ch rgb hex category category_ch
#> 21 pinlan 品蓝 (43, 115, 175) #2B73AF blue 蓝
# Multiple colors
get_colors("pinlan", "piao")
#>
#> ── Found in:
#> #2B73AF: "ChineseSet128" and "ChineseBlue"
#> #7FECAD: "ChineseGreen"
#> num name name_ch rgb hex category category_ch
#> 21 pinlan 品蓝 (43, 115, 175) #2B73AF blue 蓝
#> 243 piao 缥 (127, 236, 173) #7FECAD green 绿
get_colors(91:100)
#>
#> ── Found in:
#> #4B5CC4: "ChineseSet16", "ChineseSet32", "ChineseSet64", "ChineseSet128", and
#> "ChineseBlue"
#> #38308E: "ChineseSet16", "ChineseSet32", "ChineseSet64", "ChineseSet128", and
#> "ChineseBlue"
#> #29B7CB: "ChineseSet16", "ChineseSet32", "ChineseSet64", "ChineseSet128", and
#> "ChineseCyan"
#> #10AEC2: "ChineseSet64", "ChineseSet128", and "ChineseCyan"
#> #0EB0C9: "ChineseSet64", "ChineseSet128", and "ChineseCyan"
#> #48C0A3: "ChineseSet128" and "ChineseCyan"
#> #2BBABE: "ChineseSet128" and "ChineseCyan"
#> #51C4D3: "ChineseSet128" and "ChineseCyan"
#> #25F8CB: "ChineseCyan"
#> #57C3C2: "ChineseCyan"
#> num name name_ch rgb hex category category_ch
#> 91 baolan 宝蓝 (75, 92, 196) #4B5CC4 blue 蓝
#> 92 lanse 蓝色 (56, 48, 142) #38308E blue 蓝
#> 93 hulv 湖绿 (37, 248, 203) #25F8CB cyan 青
#> 94 qingbi 青碧 (72, 192, 163) #48C0A3 cyan 青
#> 95 shilv 石绿 (87, 195, 194) #57C3C2 cyan 青
#> 96 songshi 松石 (43, 186, 190) #2BBABE cyan 青
#> 97 pubulan 瀑布蓝 (81, 196, 211) #51C4D3 cyan 青
#> 98 weilan 蔚蓝 (41, 183, 203) #29B7CB cyan 青
#> 99 dianzilan 甸子蓝 (16, 174, 194) #10AEC2 cyan 青
#> 100 kongquelan 孔雀蓝 (14, 176, 201) #0EB0C9 cyan 青
# Chinese names
cc$visual_colors(
loc_range = c(1, 180),
num_per_row = 30,
title = "Chinese Traditional Colors",
name_type = "chinese"
)
Chinese Traditional Colors
# pinyin as names
cc$visual_colors(
loc_range = c(1, 120),
title = "Chinese Traditional Colors",
name_type = "pinyin"
)
Chinese Traditional Colors
# rgb as names
cc$visual_colors(
loc_range = c(1, 120),
title = "Colors with RGB values",
name_type = "rgb"
)
Colors with RGB values
# hex as names
cc$visual_colors(
loc_range = c(1, 120),
title = "Colors with hex codes",
name_type = "hex"
)
Colors with hex codes