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/>).

Version: 0.4.0
Depends: R (≥ 2.10)
Suggests: testthat, covr
Published: 2024-09-11
DOI: 10.32614/CRAN.package.legocolors
Author: Matthew Leonawicz [aut, cre]
Maintainer: Matthew Leonawicz <rpkgs at pm.me>
BugReports: https://github.com/leonawicz/legocolors/issues
License: MIT + file LICENSE
URL: https://github.com/leonawicz/legocolors
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: legocolors results

Documentation:

Reference manual: legocolors.pdf

Downloads:

Package source: legocolors_0.4.0.tar.gz
Windows binaries: r-devel: legocolors_0.4.0.zip, r-release: legocolors_0.4.0.zip, r-oldrel: legocolors_0.4.0.zip
macOS binaries: r-release (arm64): legocolors_0.4.0.tgz, r-oldrel (arm64): legocolors_0.4.0.tgz, r-release (x86_64): legocolors_0.4.0.tgz, r-oldrel (x86_64): legocolors_0.4.0.tgz
Old sources: legocolors archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=legocolors to link to this page.