legocolors: Official Lego Color Palettes

Provides a dataset containing several color naming conventions established by multiple sources, along with associated color metadata. The package also provides related helper functions for mapping among the different Lego color naming conventions and between Lego colors, hex colors, and 'R' color names, making it easy to convert any color palette to one based on existing Lego colors while keeping as close to the original color palette as possible. The functions use nearest color matching based on Euclidean distance in RGB space. Naming conventions for color mapping include those from 'BrickLink' (<https://www.bricklink.com>), 'The Lego Group' (<https://www.lego.com>), 'LDraw' (<https://www.ldraw.org/>), and 'Peeron' (<http://www.peeron.com/>).

Getting started

Package details

AuthorMatthew Leonawicz [aut, cre]
MaintainerMatthew Leonawicz <[email protected]>
LicenseMIT + file LICENSE
Version0.2.0
URL https://github.com/leonawicz/legocolors
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("legocolors")

Try the legocolors package in your browser

Any scripts or data that you put into this service are public.

legocolors documentation built on May 2, 2019, 6:53 a.m.