Skip to content
/ ral Public

R package containing RAL classic colors, mainly used for varnish and powder coating

Notifications You must be signed in to change notification settings

edwindj/ral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRAN_Status_Badge Travis-CI Build Status

ral

Data package containing RAL classic colors, mainly used for varnish and powder coating.

Example

ral is a data.frame that contains RAL number, color, name, german name and a description.

head(ral)
#>    RAL   color          name german_name description
#> 1 1000 #CCC58F   Green beige   Grünbeige            
#> 2 1001 #D1BC8A         Beige       Beige            
#> 3 1002 #D2B773   Sand yellow    Sandgelb            
#> 4 1003 #F7BA0B Signal yellow  Signalgelb            
#> 5 1004 #E2B007 Golden yellow    Goldgelb            
#> 6 1005 #C89F04  Honey yellow   Honiggelb

ralcolors is a named vector that can be used to quickly retrieve a color from the RAL number.

ralcolors["RAL9010"]
#>   RAL9010 
#> "#F7F9EF"

Function show_ralcolors shows the color table with corresponding RAL number.

show_ralcolors()

Install

Currently ral is not available from CRAN and can be installed with the following:

devtools::install_github("edwindj/ral")

About

R package containing RAL classic colors, mainly used for varnish and powder coating

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages