Package: legocolors Title: Official Lego Color Palettes Version: 0.4.0 Authors@R: person(given = "Matthew", family = "Leonawicz", role = c("aut", "cre"), email = "rpkgs@pm.me") Description: 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' (), 'The Lego Group' (), 'LDraw' (), and 'Peeron' (). License: MIT + file LICENSE URL: https://github.com/leonawicz/legocolors BugReports: https://github.com/leonawicz/legocolors/issues Depends: R (>= 2.10) Suggests: testthat, covr Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 Repository: https://leonawicz.r-universe.dev Date/Publication: 2024-09-11 22:41:24 UTC RemoteUrl: https://github.com/leonawicz/legocolors RemoteRef: HEAD RemoteSha: 38020d760efb7b158dce66ae5fc458b90ccf2e71 NeedsCompilation: no Packaged: 2026-07-03 08:30:05 UTC; root Author: Matthew Leonawicz [aut, cre] Maintainer: Matthew Leonawicz