{"id":16411854,"url":"https://github.com/ijlyttle/colorpath","last_synced_at":"2026-05-12T12:06:03.382Z","repository":{"id":46951396,"uuid":"294831452","full_name":"ijlyttle/colorpath","owner":"ijlyttle","description":"Build Color Paths","archived":false,"fork":false,"pushed_at":"2022-09-08T22:40:39.000Z","size":16812,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-15T11:48:10.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ijlyttle.github.io/colorpath","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ijlyttle.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-11T23:25:41.000Z","updated_at":"2022-09-08T22:34:57.000Z","dependencies_parsed_at":"2023-01-18T01:45:25.565Z","dependency_job_id":null,"html_url":"https://github.com/ijlyttle/colorpath","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fcolorpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fcolorpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fcolorpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fcolorpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ijlyttle","download_url":"https://codeload.github.com/ijlyttle/colorpath/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240427195,"owners_count":19799466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T06:46:49.007Z","updated_at":"2026-05-12T12:05:58.362Z","avatar_url":"https://github.com/ijlyttle.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document \n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# colorpath\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/colorpath)](https://CRAN.R-project.org/package=colorpath)\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n[![R-CMD-check](https://github.com/ijlyttle/colorpath/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ijlyttle/colorpath/actions/workflows/R-CMD-check.yaml)\n\u003c!-- badges: end --\u003e\n\n**Note**: on the off-chance that someone is reading this, as of late-2020 I am reworking the entire package.\nFunctions that are part of the \"new regime\" begin with `pth_`; we can expect other functions to be removed in time.\n\nThe goal of colorpath is to introduce as a level of abstraction above a color palette. It is thought that a set of palettes: categorical, sequential, and diverging, could be built using colors contained within a set of paths. A color path is built by constructing splines through HCL space, then scaling the input to aim for perceptual uniformity.\n\nThis may also be useful for constructing sets of palettes each for light mode and dark mode.\n\n## Installation\n\nYou can install the github version of colorpath from [CRAN](https://CRAN.R-project.org) with:\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"ijlyttle/colorpath\")\n```\n\n## Acknowledgments\n\nThis package rests squarely on the foundation laid by the [**colorspace** package](https://cran.r-project.org/web/packages/colorspace/vignettes/colorspace.html), and was inspired by [Achim Zeileis' talk](https://www.youtube.com/watch?v=6bv2IAcNE_c) at UseR! 2019 in Toulouse.\n\nAs well, a lot of inspiration is drawn from the design of the [matplotlib default colormaps](https://www.youtube.com/watch?v=xAoljeRJ3lU) presented at PyCon 2015.\n\n## Code of Conduct\n\nPlease note that the colorpath project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlyttle%2Fcolorpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijlyttle%2Fcolorpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlyttle%2Fcolorpath/lists"}