{
  "_id": "6b123ddaee7507cf073a145c",
  "Type": "Package",
  "Package": "colorfast",
  "Title": "Fast Conversion of R Colors to Color Component Values and Native\nPacked Integer Format",
  "Version": "1.0.1.9000",
  "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\nhexadecimal colors or named colors.  This package offers fast\nconversion of these color representations to either an array of\nred/green/blue/alpha values or to the packed integer format\nused in native raster objects.  Functions for conversion are\nalso exported at the 'C' level for use in other packages. This\nfast conversion of colors is implemented using an\norder-preserving minimal perfect hash derived from Majewski et\nal (1996) \"A Family of Perfect Hashing Methods\"\n<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",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://coolbutuseless.r-universe.dev",
  "Date/Publication": "2025-02-17 10:02:07 UTC",
  "RemoteUrl": "https://github.com/coolbutuseless/colorfast",
  "RemoteRef": "HEAD",
  "RemoteSha": "56868938dbe92ec6f3f4948fce56c834ec778f46",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-12-04 04:02:57 UTC",
    "User": "root"
  },
  "Author": "Mike Cheng [aut, cre, cph]",
  "_user": "coolbutuseless",
  "_type": "src",
  "_file": "colorfast_1.0.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/eef30d80ec0e48d47e29a03e266cf38998ad6ec738bdf50b52ea0f7133e4badd",
  "_filesize": 124883,
  "_sha256": "eef30d80ec0e48d47e29a03e266cf38998ad6ec738bdf50b52ea0f7133e4badd",
  "_expires": "2027-03-14T04:13:12.000Z",
  "_created": "2026-12-04T04:02:57.000Z",
  "_published": "2026-12-04T04:13:14.206Z",
  "_upstream": "https://github.com/coolbutuseless/colorfast",
  "_status": "success",
  "_maintainer": {
    "name": "Mike Cheng",
    "email": "mikefc@coolbutuseless.com",
    "login": "coolbutuseless",
    "description": "Cool, but useless.",
    "uuid": 181818
  },
  "_jobs": [
    {
      "job": 144808975546,
      "time": 81,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15806874154"
    },
    {
      "job": 144808975556,
      "time": 108,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15807218527"
    },
    {
      "job": 144808975594,
      "time": 102,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15807343302"
    },
    {
      "job": 144808975561,
      "time": 104,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15808028121"
    },
    {
      "job": 144808975507,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15807313914"
    },
    {
      "job": 144808975473,
      "time": 193,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15808645191"
    },
    {
      "job": 144808975441,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15807908504"
    },
    {
      "job": 144808975631,
      "time": 279,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15808306036"
    },
    {
      "job": 144807786069,
      "time": 168,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15806659279"
    },
    {
      "job": 144808975590,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15807293472"
    },
    {
      "job": 144808975503,
      "time": 314,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15808305346"
    },
    {
      "job": 144808975548,
      "time": 107,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15807858652"
    },
    {
      "job": 144808975586,
      "time": 76,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15806729417"
    },
    {
      "job": 144808975559,
      "time": 346,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15807089168"
    },
    {
      "job": 144808975580,
      "time": 60,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15806339548"
    }
  ],
  "_buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145",
  "_commit": {
    "id": "56868938dbe92ec6f3f4948fce56c834ec778f46",
    "author": "mike <mikefc@coolbutuseless.com>",
    "committer": "mike <mikefc@coolbutuseless.com>",
    "message": "direct conversion to rgb as doubles in range [0,1]\n",
    "time": 1739786527
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "coolbutuseless",
  "_selfowned": true,
  "_usedby": 11,
  "_updates": [],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "coolbutuseless",
      "count": 20,
      "uuid": 181818
    }
  ],
  "_userbio": {
    "uuid": 181818,
    "type": "user",
    "name": "mikefc",
    "followers": 794,
    "description": "Cool, but useless."
  },
  "_downloads": {
    "count": 629,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/colorfast"
  },
  "_devurl": "https://github.com/coolbutuseless/colorfast",
  "_searchresults": 11,
  "_abi": {
    "exports": [
      {
        "key": "colorfast/include",
        "hash": "0ac7ae761e895fc9"
      },
      {
        "key": "colorfast::col_to_int()",
        "hash": "01b99b8c867cf64c"
      },
      {
        "key": "colorfast::col_to_rgb()",
        "hash": "4cc82ad17441cb08"
      },
      {
        "key": "colorfast::int_to_col()",
        "hash": "c1a7d4d7c59e284e"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/colorfast.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/coolbutuseless/colorfast",
  "_realowner": "coolbutuseless",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2024-12-16"
    },
    {
      "version": "1.0.1",
      "date": "2025-01-13"
    }
  ],
  "_authors": [
    {
      "name": "Mike Cheng",
      "email": "mikefc@coolbutuseless.com",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    }
  ],
  "_exports": [
    "col_to_int",
    "col_to_rgb",
    "col_to_rgb_dbl",
    "int_to_col",
    "set_alpha"
  ],
  "_help": [
    {
      "page": "col_to_int",
      "title": "Fast conversion of colors-as-strings to an integer vector of packed RGBA values.",
      "topics": [
        "col_to_int"
      ]
    },
    {
      "page": "col_to_rgb",
      "title": "Fast conversion of colors-as-strings to a matrix of RGBA integers",
      "topics": [
        "col_to_rgb",
        "col_to_rgb_dbl"
      ]
    },
    {
      "page": "int_to_col",
      "title": "Fast conversion of colors-as-packed-RGBA-integers to hexadecimal",
      "topics": [
        "int_to_col"
      ]
    },
    {
      "page": "set_alpha",
      "title": "Set alpha value of integer colors",
      "topics": [
        "set_alpha"
      ]
    }
  ],
  "_pkglogo": "https://github.com/coolbutuseless/colorfast/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/coolbutuseless/colorfast/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "c-api.Rmd",
      "filename": "c-api.html",
      "title": "C API",
      "engine": "knitr::rmarkdown",
      "headings": [
        "String color to vector of RGBA values",
        "String color to packed integer color",
        "Packed integer color to hexadecimal color"
      ],
      "created": "2024-12-22 00:06:31",
      "modified": "2025-01-13 10:50:42",
      "commits": 3
    }
  ],
  "_score": 6.258876629372131,
  "_indexed": true,
  "_nocasepkg": "colorfast",
  "_universes": [
    "coolbutuseless"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:04:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/b9c8abaacb5f3d13aefb5234d3c0973b6b871627398ebf03083cb8a6a9e8012b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:04:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/abc70ce9fbb3a1607600ca9534aa633e5fe61dc8021ee54a96af3ba5fd72fac5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:04:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/4b847595639ff9ea6fcf052ed1dbbd63b1d24e28e0b09ecb3c79b56bd07f5f8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:04:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/048f50b154b7e23fd289ac7a517a651add6525744ba287dffed917499c235268",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:08:42.000Z",
      "arch": "aarch64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/5e3c1a5dc1075994fcd5bcf0cd60f181ea5623ab119ed07dbfeaa0aeddd5575f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:09:31.000Z",
      "arch": "x86_64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/c3ebb776859cf12926c4cb6a036aa8ed8d950c1679a8e00d6c500b26fe8024db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:04:50.000Z",
      "arch": "aarch64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/434ca6aff42ffc2bdde14857f15d5754f11d5e5371cba37efe956b5b93cb1b93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:12:15.000Z",
      "arch": "x86_64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/9f458a0760db95cb64c096395a4e0decfb5207cc04b71a718461a85f14664652",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:04:29.000Z",
      "arch": "emscripten",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/01011f42e30391b95c4a6b286825cadfb1e1d0572ff35774f1823a16a35e04d7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:08:03.000Z",
      "arch": "aarch64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/6c3743c26efbb3f7ee4dd7220a460315f7970b6a7080c34591bd3dea3f837e82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:03:58.000Z",
      "arch": "x86_64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/d234a9ee0922218995029ba546c70b880cbfe30560b5c577b8a9afe35207ab1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:04:02.000Z",
      "arch": "x86_64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/bf3a322936c66a3213680787706c04850bc461b9c689e1aa4079d89d109a3293",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:08:37.000Z",
      "arch": "aarch64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/cb8d672192f60a6e97e0bac7123e084011ff77e1a20b0e7ccad5d4348003d13c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-12-04T04:03:51.000Z",
      "arch": "x86_64",
      "commit": "56868938dbe92ec6f3f4948fce56c834ec778f46",
      "fileid": "https://r2.ropensci.org/a7e1f7e25000fafd4aa07a62a14061ed95134e0677d45a0b1729c7484bb67551",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47263255145"
    }
  ]
}