Type: Package
Package: colorfast
Title: Fast Conversion of R Colors to Color Component Values and Native
        Packed Integer Format
Version: 1.0.1
Authors@R: 
    person("Mike", "Cheng", , "mikefc@coolbutuseless.com", role = c("aut", "cre", "cph"))
Maintainer: Mike Cheng <mikefc@coolbutuseless.com>
Description: Color values in R are often represented as strings of hexadecimal
    colors or named colors.  This package offers fast conversion of 
    these color representations to either an array of red/green/blue/alpha values
    or to the packed integer format used in native raster objects.  Functions
    for conversion are also exported at the 'C' level for use in other packages.
    This fast conversion
    of colors is implemented using an order-preserving minimal perfect hash
    derived from Majewski et al (1996) "A Family of Perfect Hashing Methods" 
    <doi:10.1093/comjnl/39.6.547>.
License: MIT + file LICENSE
URL: https://github.com/coolbutuseless/colorfast
BugReports: https://github.com/coolbutuseless/colorfast/issues
Encoding: UTF-8
RoxygenNote: 7.3.2
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
Config/testthat/edition: 3
VignetteBuilder: knitr
NeedsCompilation: yes
Packaged: 2025-01-13 11:20:53 UTC; mike
Author: Mike Cheng [aut, cre, cph]
Repository: CRAN
Date/Publication: 2025-01-13 11:50:02 UTC
Built: R 4.6.0; x86_64-apple-darwin20; 2026-04-25 10:32:54 UTC; unix
Archs: colorfast.so.dSYM
